summaryrefslogtreecommitdiff
path: root/source4/lib/replace/Makefile.in
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-27 01:41:30 +0100
committerMichael Adam <obnox@samba.org>2008-02-27 01:41:30 +0100
commitb6f8132e928509e751f0dc35c93fb024105709ee (patch)
tree95f772348af016a847db580115073d3534e813bf /source4/lib/replace/Makefile.in
parent3a90bed29f6ddb2566f73f02a59eef1b0f1b7554 (diff)
downloadsamba-b6f8132e928509e751f0dc35c93fb024105709ee.tar.gz
samba-b6f8132e928509e751f0dc35c93fb024105709ee.tar.bz2
samba-b6f8132e928509e751f0dc35c93fb024105709ee.zip
libreplace: fix standalone build - add necessary libs.
The libs needed for getifaddrs replacements have to be added to LIBS and used for the testsuite target. Michael (This used to be commit e7c1d6513b945b205abe84b18a251d06e737e659)
Diffstat (limited to 'source4/lib/replace/Makefile.in')
-rw-r--r--source4/lib/replace/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/replace/Makefile.in b/source4/lib/replace/Makefile.in
index 30f39ac6cb..af9522f3a6 100644
--- a/source4/lib/replace/Makefile.in
+++ b/source4/lib/replace/Makefile.in
@@ -10,6 +10,7 @@ VPATH = @libreplacedir@
srcdir = @srcdir@
builddir = @builddir@
INSTALL = @INSTALL@
+LIBS = @LIBS@
.PHONY: test all showflags install installcheck clean distclean realdistclean
@@ -25,6 +26,7 @@ showflags:
@echo ' CC = $(CC)'
@echo ' CFLAGS = $(CFLAGS)'
@echo ' LDFLAGS= $(LDFLAGS)'
+ @echo ' LIBS = $(LIBS)'
install: all
mkdir -p $(libdir)
@@ -41,7 +43,7 @@ installcheck: install test
TEST_OBJS = test/testsuite.o test/os2_delete.o test/strptime.o
testsuite: libreplace.a $(TEST_OBJS)
- $(CC) -o testsuite $(TEST_OBJS) -L. -lreplace $(LDFLAGS)
+ $(CC) -o testsuite $(TEST_OBJS) -L. -lreplace $(LDFLAGS) $(LIBS)
.c.o:
@echo Compiling $*.c