From 5e574b2b940bf4d7e040409c6a7ceba14eece798 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 24 Dec 2007 01:55:09 -0600 Subject: r26582: Use the same swig flags everywhere. (This used to be commit 7008f90e03a12687f739e5492b3e0ab36587db6a) --- source4/lib/ldb/Makefile.in | 2 +- source4/lib/ldb/autogen.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in index 26b77d7dc1..4788c02598 100644 --- a/source4/lib/ldb/Makefile.in +++ b/source4/lib/ldb/Makefile.in @@ -235,7 +235,7 @@ ctags: ctags `find $(srcdir) -name "*.[ch]"` %_wrap.c %.py: %.i - $(SWIG) -python -keyword $< + $(SWIG) -O -Wall -python -keyword $< # Python bindings build-python: lib/libldb.$(SHLIBEXT) ldb_wrap.c ldb.py diff --git a/source4/lib/ldb/autogen.sh b/source4/lib/ldb/autogen.sh index 921ef04d82..cb837b3af9 100755 --- a/source4/lib/ldb/autogen.sh +++ b/source4/lib/ldb/autogen.sh @@ -17,7 +17,7 @@ autoconf $IPATHS || exit 1 rm -rf autom4te.cache -swig -python ldb.i # Ignore errors, for now +swig -O -Wall -python -keyword ldb.i # Ignore errors, for now echo "Now run ./configure and then make." exit 0 -- cgit