summaryrefslogtreecommitdiff
path: root/source4/param/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param/config.mk')
-rw-r--r--source4/param/config.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/param/config.mk b/source4/param/config.mk
index a25dd32194..02474d50b9 100644
--- a/source4/param/config.mk
+++ b/source4/param/config.mk
@@ -58,7 +58,11 @@ PRIVATE_DEPENDENCIES = LIBLDB TDB_WRAP UTIL_TDB NDR_SECURITY
SECRETS_OBJ_FILES = $(paramsrcdir)/secrets.o
[PYTHON::param]
-SWIG_FILE = param.i
+LIBRARY_REALNAME = samba/_param.$(SHLIBEXT)
PRIVATE_DEPENDENCIES = LIBSAMBA-HOSTCONFIG
param_OBJ_FILES = $(paramsrcdir)/param_wrap.o
+
+$(eval $(call python_py_module_template,samba/param.py,$(paramsrcdir)/param.py))
+
+$(param_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)