Fix finding the LDB header files in the system in pyldb_util.
[ira/wip.git] / source4 / lib / ldb / python.mk
1 [PYTHON::pyldb]
2 LIBRARY_REALNAME = ldb.$(SHLIBEXT)
3 PUBLIC_DEPENDENCIES = LIBLDB PYTALLOC
4 PRIVATE_DEPENDENCIES = pyldb_util
5
6 pyldb_OBJ_FILES = $(ldbsrcdir)/pyldb.o 
7 $(pyldb_OBJ_FILES): CFLAGS+=-I$(ldbsrcdir)/include
8
9 [SUBSYSTEM::pyldb_util]
10 PUBLIC_DEPENDENCIES = LIBPYTHON
11 PRIVATE_DEPENDENCIES = LIBLDB
12
13 pyldb_util_OBJ_FILES = $(ldbsrcdir)/pyldb_util.o
14 $(pyldb_OBJ_FILES): CFLAGS+=-I$(ldbsrcdir)/include