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:
parent
3d64971e90
commit
d68a198096
@ -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}"
|
||||
|
2
lib-src/lv2/configure
vendored
2
lib-src/lv2/configure
vendored
@ -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" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user