When compiling unarchive objects link to $(LIBRARIES) incase using dmalloc
authorGlenn L McGrath <bug1@ihug.co.nz>
Tue, 10 Jul 2001 14:04:30 +0000 (14:04 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Tue, 10 Jul 2001 14:04:30 +0000 (14:04 -0000)
Makefile

index 32f1ec9c2fca5e6644c0dae3201e25b5bf3ac520..8d0d2a66018cd24686ee7b17b230cb6566dad8b1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -367,7 +367,7 @@ $(LIBBB_MOBJ): $(LIBBB_MSRC)
 
 $(LIBBB_AROBJS): $(LIBBB_ARCSRC)
        - mkdir -p $(LIBBB)
-       $(CC) $(CFLAGS) $(LIBBB_CFLAGS) -DL_$(patsubst libbb/%,%,$*) -c $< -o $*.o
+       $(CC) $(CFLAGS) $(LIBBB_CFLAGS) $(LIBRARIES) -DL_$(patsubst libbb/%,%,$*) -c $< -o $*.o
 
 libpwd.a: $(PWD_OBJS)
        $(AR) $(ARFLAGS) $@ $^