diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-06 02:44:06 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:44:28 +0100 |
commit | a0e67315a407445ed14a31dce37ebf5e798e27a8 (patch) | |
tree | ced17edcff5b033094088885067fea785ade1bf1 /source4/lib/ldb | |
parent | 26c3cad60f4c04231efb7ff67ce77c5e3d701b58 (diff) | |
download | samba-a0e67315a407445ed14a31dce37ebf5e798e27a8.tar.gz samba-a0e67315a407445ed14a31dce37ebf5e798e27a8.tar.bz2 samba-a0e67315a407445ed14a31dce37ebf5e798e27a8.zip |
r25853: Specify LIBS to sample_module - fixes build for gcov hosts.
(This used to be commit db9ebea52bf739cc297e94178a3a03548fd5ddfb)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/Makefile.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in index fd0caa4a5c..9762d667c6 100644 --- a/source4/lib/ldb/Makefile.in +++ b/source4/lib/ldb/Makefile.in @@ -37,13 +37,16 @@ SHLIBEXT = @SHLIBEXT@ LD_EXPORT_DYNAMIC = @LD_EXPORT_DYNAMIC@ SHLD_FLAGS = @SHLD_FLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ + PICFLAG = @PICFLAG@ CFLAGS=-g -I$(srcdir)/include -Iinclude -I$(srcdir) -I$(srcdir)/.. \ $(POPT_CFLAGS) $(TALLOC_CFLAGS) $(TDB_CFLAGS) \ -DLIBDIR=\"$(libdir)\" -DSHLIBEXT=\"$(SHLIBEXT)\" -DUSE_MMAP=1 @CFLAGS@ -LIB_FLAGS=@LDFLAGS@ -Llib -lldb @LIBS@ $(POPT_LIBS) $(TALLOC_LIBS) $(TDB_LIBS) \ - $(LDAP_LIBS) +LIB_FLAGS=$(LDFLAGS) -Llib -lldb $(LIBS) $(POPT_LIBS) $(TALLOC_LIBS) \ + $(TDB_LIBS) $(LDAP_LIBS) LDB_TDB_DIR=ldb_tdb LDB_TDB_OBJ=$(LDB_TDB_DIR)/ldb_tdb.o \ @@ -116,7 +119,7 @@ lib/libnss_ldb.so.2: $(NSS_OBJ) $(LIBS) bin/libldb.a $(CC) $(SHLD_FLAGS) -Wl,-soname,libnss_ldb.so.2 -o lib/libnss_ldb.so.2 $(NSS_OBJ) $(OBJS) $(LIB_FLAGS) sample_module.$(SHLIBEXT): tests/sample_module.po - $(CC) $(SHLD_FLAGS) -o $@ tests/sample_module.po + $(CC) $(SHLD_FLAGS) $(LIBS) $(LDFLAGS) -o $@ tests/sample_module.po bin/ldbadd: tools/ldbadd.o tools/cmdline.o $(LIBS) $(CC) -o bin/ldbadd tools/ldbadd.o tools/cmdline.o $(LIB_FLAGS) $(LD_EXPORT_DYNAMIC) |