forked from emscripten-core/emscripten
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix regression in 1.37.37 from 9a5a9b6 : configure scripts should be …
…pointed to emcc, not emcc.py, since emcc will pick the right python version. (emscripten-core#6460)
- Loading branch information
Showing
11 changed files
with
40 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/usr/bin/env python | ||
|
||
# This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. | ||
# This script should work in python 2 *or* 3. It loads the main code using | ||
# python_selector, which may pick a different version. | ||
# It also tells emcc.py that we want C++ and not C by default | ||
|
||
from tools import python_selector | ||
|
||
import os | ||
import sys | ||
from tools import python_selector | ||
|
||
sys.argv += ['--emscripten-cxx'] | ||
|
||
emcc = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'emcc') | ||
if __name__ == '__main__': | ||
python_selector.run(emcc, profile=True) | ||
python_selector.run(emcc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/usr/bin/env python | ||
|
||
# This script should work in python 2 *or* 3. It loads emar.py, which needs python 2. | ||
# This script should work in python 2 *or* 3. It loads the main code using | ||
# python_selector, which may pick a different version. | ||
|
||
from tools import python_selector | ||
|
||
import sys | ||
|
||
if __name__ == '__main__': | ||
python_selector.run(__file__, profile=True) | ||
python_selector.run(__file__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
#!/usr/bin/env python | ||
|
||
# This script should work in python 2 *or* 3. It loads emcc.py, which needs python 2. | ||
# This script should work in python 2 *or* 3. It loads the main code using | ||
# python_selector, which may pick a different version. | ||
|
||
from tools import python_selector | ||
|
||
import sys | ||
|
||
if __name__ == '__main__': | ||
python_selector.run(__file__, profile=True) | ||
python_selector.run(__file__) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
#!/usr/bin/env python | ||
|
||
# This script should work in python 2 *or* 3. It loads emmake.py, which needs python 2. | ||
# This script should work in python 2 *or* 3. It loads the main code using | ||
# python_selector, which may pick a different version. | ||
|
||
from tools import python_selector | ||
|
||
import sys | ||
|
||
|
||
if __name__ == '__main__': | ||
python_selector.run(__file__, profile=True) | ||
python_selector.run(__file__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters