From ce9db767a0b9c73101e79ab29c14777d2ec64918 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 11 Jun 2008 02:52:43 +0200 Subject: Use variables for source dir of python ldb bindings. (This used to be commit cd4eddd31354f4ae45e8747da1a70340000716c3) --- source4/Makefile | 1 + source4/lib/ldb/python.mk | 6 +++--- 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) -- cgit