mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
Use variables for source dir of python tdb bindings.
This commit is contained in:
parent
d4c06bf333
commit
22e7bcfbe4
@ -61,6 +61,7 @@ libsrcdir := lib
|
||||
libsocketsrcdir := lib/socket
|
||||
libcharsetsrcdir := lib/charset
|
||||
ldb_sambasrcdir := lib/ldb-samba
|
||||
tdbsrcdir := lib/tdb
|
||||
libtlssrcdir := lib/tls
|
||||
libregistrysrcdir := lib/registry
|
||||
smbreadlinesrcdir := lib/smbreadline
|
||||
|
@ -2,9 +2,9 @@
|
||||
LIBRARY_REALNAME = _tdb.$(SHLIBEXT)
|
||||
PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG
|
||||
|
||||
swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o
|
||||
swig_tdb_OBJ_FILES = $(tdbsrcdir)/tdb_wrap.o
|
||||
|
||||
$(eval $(call python_py_module_template,tdb.py,lib/tdb/tdb.py))
|
||||
$(eval $(call python_py_module_template,tdb.py,$(tdbsrcdir)/tdb.py))
|
||||
|
||||
$(swig_tdb_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user