diff options
author | Michael Adam <obnox@samba.org> | 2008-02-27 01:41:30 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-02-27 11:06:54 +0100 |
commit | e80790f649b181e2eb6a8bfa0ef0340d05ead050 (patch) | |
tree | 1385f758adb3073e7292a178759f37d2423d9b85 /source3/lib/replace/Makefile.in | |
parent | a565f50735e1c90b55c8069067821754938035f9 (diff) | |
download | samba-e80790f649b181e2eb6a8bfa0ef0340d05ead050.tar.gz samba-e80790f649b181e2eb6a8bfa0ef0340d05ead050.tar.bz2 samba-e80790f649b181e2eb6a8bfa0ef0340d05ead050.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 f162de7b8012d29408060610a969ca76c61a4c80)
Diffstat (limited to 'source3/lib/replace/Makefile.in')
-rw-r--r-- | source3/lib/replace/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/replace/Makefile.in b/source3/lib/replace/Makefile.in index 30f39ac6cb..af9522f3a6 100644 --- a/source3/lib/replace/Makefile.in +++ b/source3/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 |