diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-21 12:54:06 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:45:57 +0100 |
commit | f2b9a9ae11f43e4c283a151ca6d2d72f3e4d2283 (patch) | |
tree | 899cfb3124039c87acbf7d164d8d7a8c529138f2 /source4/lib | |
parent | efc0cc6be26b1866aca871b2deb37452c9ea47f6 (diff) | |
download | samba-f2b9a9ae11f43e4c283a151ca6d2d72f3e4d2283.tar.gz samba-f2b9a9ae11f43e4c283a151ca6d2d72f3e4d2283.tar.bz2 samba-f2b9a9ae11f43e4c283a151ca6d2d72f3e4d2283.zip |
r26087: Fix include, add setup.py for tdb
(This used to be commit 4b94d5ca74fea44c66ab0d69dae27a1fdc8ece66)
Diffstat (limited to 'source4/lib')
-rwxr-xr-x | source4/lib/tdb/setup.py | 8 | ||||
-rw-r--r-- | source4/lib/tdb/tdb.i | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/tdb/setup.py b/source4/lib/tdb/setup.py new file mode 100755 index 0000000000..67974a8888 --- /dev/null +++ b/source4/lib/tdb/setup.py @@ -0,0 +1,8 @@ +#!/usr/bin/python +from distutils.core import setup +from distutils.extension import Extension +setup(name='tdb', + version='1.0', + ext_modules=[Extension('_tdb', ['tdb.i'], include_dirs=['include'], + libraries=['tdb'], swig_opts=["-noproxydel"])], + ) diff --git a/source4/lib/tdb/tdb.i b/source4/lib/tdb/tdb.i index 2f6b249c28..474f3c3960 100644 --- a/source4/lib/tdb/tdb.i +++ b/source4/lib/tdb/tdb.i @@ -36,6 +36,7 @@ #endif /* Include tdb headers */ +#include <signal.h> #include <tdb.h> #include <fcntl.h> |