diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-27 14:14:45 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-27 14:14:45 +0200 |
commit | 4fc224f48e28da253ebe5d7b44c766ac4a7e147c (patch) | |
tree | 5fb08187a94f847a52c175832e4923874e4d61d6 /source4/lib/ldb/python.mk | |
parent | 5c66b80c07bfa379971ffaed1936b43a44f4e581 (diff) | |
download | samba-4fc224f48e28da253ebe5d7b44c766ac4a7e147c.tar.gz samba-4fc224f48e28da253ebe5d7b44c766ac4a7e147c.tar.bz2 samba-4fc224f48e28da253ebe5d7b44c766ac4a7e147c.zip |
Use variable for ldb source directory.
(This used to be commit 48bfce0ea51b952baef5bfa667405e8742e5016f)
Diffstat (limited to 'source4/lib/ldb/python.mk')
-rw-r--r-- | source4/lib/ldb/python.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/python.mk b/source4/lib/ldb/python.mk index 89aba8f276..96ae6a5720 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 +CFLAGS = -I$(ldbdir)/include -swig_ldb_OBJ_FILES = lib/ldb/ldb_wrap.o +swig_ldb_OBJ_FILES = $(ldbdir)/ldb_wrap.o -$(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) |