From cd4eddd31354f4ae45e8747da1a70340000716c3 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 11 Jun 2008 02:52:43 +0200 Subject: [PATCH] Use variables for source dir of python ldb bindings. --- source/Makefile | 1 + source/lib/ldb/python.mk | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/Makefile b/source/Makefile index 6118b553f9b..1e5066b0020 100644 --- a/source/Makefile +++ b/source/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/source/lib/ldb/python.mk b/source/lib/ldb/python.mk index 5325446e1ee..8d48f5d8101 100644 --- a/source/lib/ldb/python.mk +++ b/source/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) -- 2.47.3