summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tdb.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-12 13:07:16 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-12 13:09:38 +0100
commit18ef7670857eeaec59d68fb8063570e67c6297a6 (patch)
treeb01c1777ff3cb05f7930cf364118113d85ad22f0 /source4/lib/tdb/tdb.mk
parente08a78abcd7cf55322cc720f47fa3a2bfe491c31 (diff)
downloadsamba-18ef7670857eeaec59d68fb8063570e67c6297a6.tar.gz
samba-18ef7670857eeaec59d68fb8063570e67c6297a6.tar.bz2
samba-18ef7670857eeaec59d68fb8063570e67c6297a6.zip
Specify PICFLAG when compiling python modules.
(This used to be commit 981957165d09e82947f68475192f1ce1f0ddbdd3)
Diffstat (limited to 'source4/lib/tdb/tdb.mk')
-rw-r--r--source4/lib/tdb/tdb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tdb.mk b/source4/lib/tdb/tdb.mk
index fe77a0492d..ea4389640e 100644
--- a/source4/lib/tdb/tdb.mk
+++ b/source4/lib/tdb/tdb.mk
@@ -36,7 +36,7 @@ clean::
build-python:: _tdb.$(SHLIBEXT)
tdb_wrap.o: $(tdbdir)/tdb_wrap.c
- $(CC) -c $(tdbdir)/tdb_wrap.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
+ $(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`