summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/python.mk
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-28 12:07:20 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-28 12:07:20 +1000
commit275e057bea09c1d15228963a5b5650df28a4b24b (patch)
treefc24aee4174815930451e86f73d1997028169a49 /source4/lib/ldb/python.mk
parent0dbef08a9a4ae127f4eaf80dfbbb00e000bdf866 (diff)
parent715cee3bdbabd86b7603fbb43da470bdb8c1fe9d (diff)
downloadsamba-275e057bea09c1d15228963a5b5650df28a4b24b.tar.gz
samba-275e057bea09c1d15228963a5b5650df28a4b24b.tar.bz2
samba-275e057bea09c1d15228963a5b5650df28a4b24b.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit ecb0e5477aa63180daade5c597e7ac2aebfc1e15)
Diffstat (limited to 'source4/lib/ldb/python.mk')
-rw-r--r--source4/lib/ldb/python.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/python.mk b/source4/lib/ldb/python.mk
index 89aba8f276..5325446e1e 100644
--- a/source4/lib/ldb/python.mk
+++ b/source4/lib/ldb/python.mk
@@ -1,10 +1,10 @@
[PYTHON::swig_ldb]
LIBRARY_REALNAME = _ldb.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = LIBLDB
-CFLAGS = -Ilib/ldb/include
-swig_ldb_OBJ_FILES = lib/ldb/ldb_wrap.o
+swig_ldb_OBJ_FILES = $(ldbdir)/ldb_wrap.o
+$(swig_ldb_OBJ_FILES): CFLAGS+=-I$(ldbdir)/include
-$(eval $(call python_py_module_template,ldb.py,lib/ldb/ldb.py))
+$(eval $(call python_py_module_template,ldb.py,$(ldbdir)/ldb.py))
$(swig_ldb_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)