summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-22 22:08:01 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-22 22:08:01 +0100
commit4b2bdfec785bc6bebc370320c9aee9128510ba92 (patch)
treeb3f668dc777e68ba7f0ad01ac3bafc72888326c0 /source4/lib/ldb
parent99e637175c0dee050b9c39c124ab1fab8ad7976d (diff)
downloadsamba-4b2bdfec785bc6bebc370320c9aee9128510ba92.tar.gz
samba-4b2bdfec785bc6bebc370320c9aee9128510ba92.tar.bz2
samba-4b2bdfec785bc6bebc370320c9aee9128510ba92.zip
Fix build of the Python bindings now that SWIG is gone.
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/ldb.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/ldb/ldb.mk b/source4/lib/ldb/ldb.mk
index 9d94434dc0..66cdea15c2 100644
--- a/source4/lib/ldb/ldb.mk
+++ b/source4/lib/ldb/ldb.mk
@@ -64,11 +64,11 @@ examples/ldifreader: examples/ldifreader.o
# Python bindings
build-python:: ldb.$(SHLIBEXT)
-ldb_wrap.o: $(ldbdir)/ldb_wrap.c
- $(CC) $(PICFLAG) -c $(ldbdir)/ldb_wrap.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
+pyldb.o: $(ldbdir)/pyldb.c
+ $(CC) $(PICFLAG) -c $(ldbdir)/pyldb.c $(CFLAGS) `$(PYTHON_CONFIG) --cflags`
-ldb.$(SHLIBEXT): ldb_wrap.o
- $(SHLD) $(SHLD_FLAGS) -o ldb.$(SHLIBEXT) ldb_wrap.o $(LIB_FLAGS) `$(PYTHON_CONFIG) --ldflags`
+ldb.$(SHLIBEXT): pyldb.o
+ $(SHLD) $(SHLD_FLAGS) -o ldb.$(SHLIBEXT) pyldb.o $(LIB_FLAGS) `$(PYTHON_CONFIG) --ldflags`
install-python:: build-python
mkdir -p $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='$(prefix)')"`