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:
parent
5a1433cae7
commit
5e574b2b94
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user