diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-22 16:09:10 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-22 16:09:10 +1000 |
commit | fd7dc46f50d063a3bd4951e8b9bbc17b7632f0c5 (patch) | |
tree | 6e6b4079ecf50b42b862d0f8accc392e5f061cb8 /source4/param | |
parent | af82204f4355ac9011b61019bbbe40e7e3632d4c (diff) | |
parent | 8172f3eb220575d40f9ab5129d36e4e0003dee56 (diff) | |
download | samba-fd7dc46f50d063a3bd4951e8b9bbc17b7632f0c5.tar.gz samba-fd7dc46f50d063a3bd4951e8b9bbc17b7632f0c5.tar.bz2 samba-fd7dc46f50d063a3bd4951e8b9bbc17b7632f0c5.zip |
Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit d7f3348c891e14de0e1b195714468ff998400f60)
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/config.mk | 6 | ||||
-rw-r--r-- | source4/param/tests/bindings.py | 2 |
2 files changed, 6 insertions, 2 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) diff --git a/source4/param/tests/bindings.py b/source4/param/tests/bindings.py index 0dd186b9df..d1d71e4485 100644 --- a/source4/param/tests/bindings.py +++ b/source4/param/tests/bindings.py @@ -17,7 +17,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -import param +from samba import param import unittest class LoadParmTestCase(unittest.TestCase): |