svn commit: samba r23306 - in
branches/SAMBA_4_0/source/lib/replace: .
metze at samba.org
metze at samba.org
Sat Jun 2 08:16:43 GMT 2007
Author: metze
Date: 2007-06-02 08:16:42 +0000 (Sat, 02 Jun 2007)
New Revision: 23306
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23306
Log:
pass down LDFLAGS to the link command in the libreplace standalone build
metze
Modified:
branches/SAMBA_4_0/source/lib/replace/Makefile.in
branches/SAMBA_4_0/source/lib/replace/configure.ac
Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/Makefile.in 2007-06-02 08:14:27 UTC (rev 23305)
+++ branches/SAMBA_4_0/source/lib/replace/Makefile.in 2007-06-02 08:16:42 UTC (rev 23306)
@@ -14,6 +14,7 @@
.PHONY: test all showflags install installcheck clean distclean realdistclean
CFLAGS=-I. @CFLAGS@
+LDFLAGS=@LDFLAGS@
OBJS = @LIBREPLACEOBJ@
@@ -23,7 +24,7 @@
@echo 'libreplace will be compiled with flags:'
@echo ' CC = $(CC)'
@echo ' CFLAGS = $(CFLAGS)'
- @echo ' LIBS = $(LIBS)'
+ @echo ' LDFLAGS= $(LDFLAGS)'
install: all
mkdir -p $(libdir)
@@ -40,7 +41,7 @@
TEST_OBJS = test/testsuite.o test/os2_delete.o test/strptime.o
testsuite: libreplace.a $(TEST_OBJS)
- $(CC) -o testsuite $(TEST_OBJS) -L. -lreplace
+ $(CC) -o testsuite $(TEST_OBJS) -L. -lreplace $(LDFLAGS)
.c.o:
@echo Compiling $*.c
Modified: branches/SAMBA_4_0/source/lib/replace/configure.ac
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/configure.ac 2007-06-02 08:14:27 UTC (rev 23305)
+++ branches/SAMBA_4_0/source/lib/replace/configure.ac 2007-06-02 08:16:42 UTC (rev 23306)
@@ -19,4 +19,6 @@
CFLAGS="$CFLAGS -Wno-format-y2k"
fi
+AC_SUBST(LDFLAGS)
+
AC_OUTPUT(Makefile)
More information about the samba-cvs
mailing list