diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-08 11:56:32 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-08 11:56:32 +0200 |
commit | 4aba4d38c7cc1df4520df7f052d7d3c039597ed2 (patch) | |
tree | 35e4c126500133acb7f25ee7ac82ba270e457be8 /source4/lib | |
parent | c3efee27b6190a7ceb7c0dbe4c526c0f51ddf871 (diff) | |
download | samba-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')
-rw-r--r-- | source4/lib/ldb/ldb.mk | 2 | ||||
-rw-r--r-- | source4/lib/tdb/tdb.mk | 2 |
2 files changed, 2 insertions, 2 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)')"` \ diff --git a/source4/lib/tdb/tdb.mk b/source4/lib/tdb/tdb.mk index 0e53927366..c91b1289cb 100644 --- a/source4/lib/tdb/tdb.mk +++ b/source4/lib/tdb/tdb.mk @@ -39,7 +39,7 @@ tdb_wrap.o: $(tdbdir)/tdb_wrap.c $(CC) $(PICFLAG) -c $(tdbdir)/tdb_wrap.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags` _tdb.$(SHLIBEXT): libtdb.$(SHLIBEXT) tdb_wrap.o - $(SHLD) $(SHLD_FLAGS) -o $@ tdb_wrap.o -L. -ltdb `$(PYTHON_CONFIG) --libs` + $(SHLD) $(SHLD_FLAGS) -o $@ tdb_wrap.o -L. -ltdb `$(PYTHON_CONFIG) --ldflags` install:: installdirs installbin installheaders installlibs \ $(PYTHON_INSTALL_TARGET) |