From f2b9a9ae11f43e4c283a151ca6d2d72f3e4d2283 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 Nov 2007 12:54:06 +0100 Subject: r26087: Fix include, add setup.py for tdb (This used to be commit 4b94d5ca74fea44c66ab0d69dae27a1fdc8ece66) --- source4/lib/tdb/setup.py | 8 ++++++++ source4/lib/tdb/tdb.i | 1 + 2 files changed, 9 insertions(+) create mode 100755 source4/lib/tdb/setup.py (limited to 'source4/lib') 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 #include #include -- cgit