summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/lib/tdb/setup.py8
-rw-r--r--source4/lib/tdb/tdb.i1
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>