Call python interpreter instead of using '#!' in script.

This fixes builds on platforms where python is in /usr/local/bin.
Thanks to Jan Stary for reporting this.
This commit is contained in:
Erik de Castro Lopo 2013-02-21 18:26:26 +11:00
parent 4a7495cd50
commit 7a7a1872a5
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2013-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/Makefile.am
Call python interpreter instead of using '#!' in script. Thanks to Jan
Stary for reporting this.
2013-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/test_endswap.def src/test_endswap.tpl

View File

@ -103,19 +103,19 @@ checkprograms : $(check_PROGRAMS)
# end user to create these files.
Symbols.gnu-binutils: create_symbols_file.py
./create_symbols_file.py linux $(VERSION) > $@
python create_symbols_file.py linux $(VERSION) > $@
Symbols.darwin: create_symbols_file.py
./create_symbols_file.py darwin $(VERSION) > $@
python create_symbols_file.py darwin $(VERSION) > $@
libsndfile-1.def: create_symbols_file.py
./create_symbols_file.py win32 $(VERSION) > $@
python create_symbols_file.py win32 $(VERSION) > $@
Symbols.os2: create_symbols_file.py
./create_symbols_file.py os2 $(VERSION) > $@
python create_symbols_file.py os2 $(VERSION) > $@
Symbols.static: create_symbols_file.py
./create_symbols_file.py static $(VERSION) > $@
python create_symbols_file.py static $(VERSION) > $@
# Fake dependancy to force the creation of these files.
sndfile.o : $(SYMBOL_FILES)