diff options
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/lib/ldb/setup.py | 1 | ||||
-rwxr-xr-x | source4/lib/tdb/setup.py | 2 | ||||
-rw-r--r-- | source4/scripting/python/config.mk | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/setup.py b/source4/lib/ldb/setup.py index 47326e2fae..77b54f434d 100755 --- a/source4/lib/ldb/setup.py +++ b/source4/lib/ldb/setup.py @@ -10,5 +10,6 @@ setup(name="ldb", license="LGPLv3", keywords=["ldap","ldb","db","ldif"], ext_modules=[Extension('_ldb', ['ldb.i'], include_dirs=['include'], + swig_opts=["-keyword"], library_dirs=["lib"], libraries=['ldb','ldap'])], ) diff --git a/source4/lib/tdb/setup.py b/source4/lib/tdb/setup.py index 6b5ecc24ab..c0a952d657 100755 --- a/source4/lib/tdb/setup.py +++ b/source4/lib/tdb/setup.py @@ -6,5 +6,5 @@ setup(name='tdb', version='1.0', url="http://tdb.samba.org/", ext_modules=[Extension('_tdb', ['tdb.i'], include_dirs=['include'], - library_dirs=["."], libraries=['tdb'], swig_opts=["-noproxydel"])], + library_dirs=["."], libraries=['tdb'], swig_opts=["-keyword"])], ) diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk index c176077267..eb35919450 100644 --- a/source4/scripting/python/config.mk +++ b/source4/scripting/python/config.mk @@ -20,7 +20,7 @@ swig: pythonmods .SUFFIXES: _wrap.c .i .i_wrap.c: - $(SWIG) -Wall -I$(srcdir)/scripting/swig -python $< + $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $< clean:: @echo "Removing SWIG output files" |