From: Glenn L McGrath Date: Tue, 10 Jul 2001 14:04:30 +0000 (-0000) Subject: When compiling unarchive objects link to $(LIBRARIES) incase using dmalloc X-Git-Tag: 0_60_0~94 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c3d2f1287e24588cce67df4cd72de7dcca3ced50;p=oweals%2Fbusybox.git When compiling unarchive objects link to $(LIBRARIES) incase using dmalloc --- diff --git a/Makefile b/Makefile index 32f1ec9c2..8d0d2a660 100644 --- 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) $@ $^