summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-06-11 02:52:43 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-06-11 02:52:43 +0200
commitce9db767a0b9c73101e79ab29c14777d2ec64918 (patch)
treeb248300668594388543cab29ceadbf3a85720a89 /source4/lib
parent3fe58d839afd7b19cec33d84ba12a9e892ca5590 (diff)
downloadsamba-ce9db767a0b9c73101e79ab29c14777d2ec64918.tar.gz
samba-ce9db767a0b9c73101e79ab29c14777d2ec64918.tar.bz2
samba-ce9db767a0b9c73101e79ab29c14777d2ec64918.zip
Use variables for source dir of python ldb bindings.
(This used to be commit cd4eddd31354f4ae45e8747da1a70340000716c3)
Diffstat (limited to 'source4/lib')
-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 5325446e1e..8d48f5d810 100644
--- a/source4/lib/ldb/python.mk
+++ b/source4/lib/ldb/python.mk
@@ -2,9 +2,9 @@
LIBRARY_REALNAME = _ldb.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = LIBLDB
-swig_ldb_OBJ_FILES = $(ldbdir)/ldb_wrap.o
-$(swig_ldb_OBJ_FILES): CFLAGS+=-I$(ldbdir)/include
+swig_ldb_OBJ_FILES = $(ldbsrcdir)/ldb_wrap.o
+$(swig_ldb_OBJ_FILES): CFLAGS+=-I$(ldbsrcdir)/include
-$(eval $(call python_py_module_template,ldb.py,$(ldbdir)/ldb.py))
+$(eval $(call python_py_module_template,ldb.py,$(ldbsrcdir)/ldb.py))
$(swig_ldb_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)