summaryrefslogtreecommitdiff
path: root/source4
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
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')
-rw-r--r--source4/Makefile1
-rw-r--r--source4/lib/ldb/python.mk6
2 files changed, 4 insertions, 3 deletions
diff --git a/source4/Makefile b/source4/Makefile
index 6118b553f9..1e5066b002 100644
--- a/source4/Makefile
+++ b/source4/Makefile
@@ -62,6 +62,7 @@ libsocketsrcdir := lib/socket
libcharsetsrcdir := lib/charset
ldb_sambasrcdir := lib/ldb-samba
tdbsrcdir := lib/tdb
+ldbsrcdir := lib/ldb
libtlssrcdir := lib/tls
libregistrysrcdir := lib/registry
smbreadlinesrcdir := lib/smbreadline
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)