1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

Fix the build on Mac where python2 is not available.

This commit is contained in:
lllucius@gmail.com 2014-05-14 20:21:50 +00:00
parent 3d64971e90
commit d68a198096
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ function waf
pkg=$1
pushd >/dev/null ${pkg}
shift
python waf --prefix="." --include="." $@ build || exit 1
$(which python python2 | tail -1) waf --prefix="." --include="." $@ build || exit 1
popd >/dev/null
export PKG_CONFIG_PATH="$(pwd)/${pkg}/build:${PKG_CONFIG_PATH}"

View File

@ -5,7 +5,7 @@ function waf
pkg="$1"
shift
pushd >/dev/null ${pkg}
python2 waf --prefix="." --include="." $@ configure || exit 1
$(which python python2 | tail -1) waf --prefix="." --include="." $@ configure || exit 1
popd >/dev/null
if [ "${pkg}" == "lv2" ]