Modified:
trunk/xar/ChangeLog
trunk/xar/lib/Makefile.inc.in
Log:
lib/Makefile.inc.in: Add the $(LDFLAGS) variable when creating libxar
Modified: trunk/xar/ChangeLog
==============================================================================
--- trunk/xar/ChangeLog (original)
+++ trunk/xar/ChangeLog Fri Aug 15 08:02:30 2008
@@ -1,5 +1,6 @@
devel
2008-08-15 Rob Braun bbr...@synack.net
+ * lib/Makefile.inc.in: Add the $(LDFLAGS) variable when creating libxar
* src/xar.c: Fix a typo in the usage statement.
2008-08-14 Rob Braun bbr...@synack.net
* lib/bzxar.c: if bzip2 compression is specified but not compiled in,
throw an error.
Modified: trunk/xar/lib/Makefile.inc.in
==============================================================================
--- trunk/xar/lib/Makefile.inc.in (original)
+++ trunk/xar/lib/Makefile.inc.in Fri Aug 15 08:02:30 2008
@@ -137,7 +137,7 @@
$(LIBRXAR_S) : $(LIBXAR_SRCS:@srcroot@%.c=@objroot@%.o)
@mkdir -p $(@D)
ifeq (elf, @abi@)
- $(CC) -shared -Wl,-soname,$(LIBXAR_SNAME) -o $@ $+ @LIBS@
+ $(CC) -shared -Wl,-soname,$(LIBXAR_SNAME) -o $@ $+ $(LDFLAGS) @LIBS@
endif
ifeq (macho, @abi@)
$(CC) -dynamiclib -compatibility_version @LIB_REV@ -current_version
@LIB_REV@ -install_name @abs_objroot@$(LIBRXAR_S) -o $@ $+ $(LDFLAGS) @LIBS@
@@ -153,7 +153,7 @@
$(LIBXAR_S) : $(LIBXAR_SRCS:@srcroot@%.c=@objroot@%.o)
@mkdir -p $(@D)
ifeq (elf, @abi@)
- $(CC) -shared -Wl,-soname,$(LIBXAR_SNAME) -o $@ $+ @LIBS@
+ $(CC) -shared -Wl,-soname,$(LIBXAR_SNAME) -o $@ $+ $(LDFLAGS) @LIBS@
endif
ifeq (macho, @abi@)
$(CC) -dynamiclib -compatibility_version @LIB_REV@ -current_version
@LIB_REV@ -install_name $(LIBDIR)/$(LIBXAR_SNAME) -o $@ $+ $(LDFLAGS) @LIBS@