summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/python.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/python.mk b/source4/lib/ldb/python.mk
index 96ae6a5720..5325446e1e 100644
--- a/source4/lib/ldb/python.mk
+++ b/source4/lib/ldb/python.mk
@@ -1,9 +1,9 @@
[PYTHON::swig_ldb]
LIBRARY_REALNAME = _ldb.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = LIBLDB
-CFLAGS = -I$(ldbdir)/include
swig_ldb_OBJ_FILES = $(ldbdir)/ldb_wrap.o
+$(swig_ldb_OBJ_FILES): CFLAGS+=-I$(ldbdir)/include
$(eval $(call python_py_module_template,ldb.py,$(ldbdir)/ldb.py))