We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1247cf commit da9335aCopy full SHA for da9335a
recipes/hostpython/recipe.sh
@@ -24,13 +24,16 @@ function build_hostpython() {
24
25
try ./configure
26
try make -j5
27
- try mv python hostpython
28
try mv Parser/pgen hostpgen
29
- #try mkdir -p ../prebuilt/Python-$PYVERSION/lib
30
- #try cp hostpython ../prebuilt/Python-$PYVERSION/
31
- #try cp hostpgen ../prebuilt/Python-$PYVERSION/
32
- #try cp build/lib.*/*.so ../prebuilt/Python-$PYVERSION/lib/
33
- #try cd ..
+
+ if [ -f python.exe ]; then
+ try mv python.exe hostpython
+ elif [ -f python ]; then
+ try mv python hostpython
+ else
34
+ error "Unable to found the python executable?"
35
+ exit 1
36
+ fi
37
}
38
39
function postbuild_hostpython() {
0 commit comments