1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r26582: Use the same swig flags everywhere.

(This used to be commit 7008f90e03)
This commit is contained in:
Jelmer Vernooij 2007-12-24 01:55:09 -06:00 committed by Stefan Metzmacher
parent 5a1433cae7
commit 5e574b2b94
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -113,7 +113,7 @@ realdistclean: distclean
rm -f configure include/config.h.in
tdb_wrap.c tdb.py: tdb.i
$(SWIG) -python -keyword tdb.i
$(SWIG) -O -Wall -python -keyword tdb.i
build-python: libtdb.$(SHLIBEXT) tdb_wrap.c tdb.py
./setup.py build

View File

@ -9,7 +9,7 @@ autoheader $IPATHS || exit 1
rm -rf autom4te.cache
swig -python -keyword tdb.i # Ignore errors for now
swig -O -Wall -python -keyword tdb.i # Ignore errors for now
echo "Now run ./configure and then make."
exit 0