summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-08 11:56:32 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-08 11:56:32 +0200
commit4aba4d38c7cc1df4520df7f052d7d3c039597ed2 (patch)
tree35e4c126500133acb7f25ee7ac82ba270e457be8 /source4/lib/ldb
parentc3efee27b6190a7ceb7c0dbe4c526c0f51ddf871 (diff)
downloadsamba-4aba4d38c7cc1df4520df7f052d7d3c039597ed2.tar.gz
samba-4aba4d38c7cc1df4520df7f052d7d3c039597ed2.tar.bz2
samba-4aba4d38c7cc1df4520df7f052d7d3c039597ed2.zip
Fix link flags for ldb and tdb Python modules.
(This used to be commit 787a32fdef9d761d64839f489cca0b0684f9a9fd)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/ldb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb.mk b/source4/lib/ldb/ldb.mk
index cc920178bc..58ce598d06 100644
--- a/source4/lib/ldb/ldb.mk
+++ b/source4/lib/ldb/ldb.mk
@@ -71,7 +71,7 @@ ldb_wrap.o: $(ldbdir)/ldb_wrap.c
$(CC) $(PICFLAG) -c $(ldbdir)/ldb_wrap.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
_ldb.$(SHLIBEXT): $(LIBS) ldb_wrap.o
- $(SHLD) $(SHLD_FLAGS) -o _ldb.$(SHLIBEXT) ldb_wrap.o $(LIB_FLAGS)
+ $(SHLD) $(SHLD_FLAGS) -o _ldb.$(SHLIBEXT) ldb_wrap.o $(LIB_FLAGS) `$(PYTHON_CONFIG) --ldflagsb`
install-python:: build-python
mkdir -p $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(0, prefix='$(prefix)')"` \