[vlc-devel] [PATCH] ios: don't use absolute uninstalled prefix for gas-preprocessor.pl
Rafaël Carré
funman at videolan.org
Tue Jun 4 17:55:47 CEST 2013
It is already available in $PATH
---
extras/package/ios/build.sh | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/extras/package/ios/build.sh b/extras/package/ios/build.sh
index 5a2088d..c9fea60 100755
--- a/extras/package/ios/build.sh
+++ b/extras/package/ios/build.sh
@@ -109,8 +109,6 @@ BUILDDIR="${VLCROOT}/build-ios-${PLATFORM}/${ARCH}"
PREFIX="${VLCROOT}/install-ios-${PLATFORM}/${ARCH}"
-IOS_GAS_PREPROCESSOR="${VLCROOT}/extras/tools/gas/gas-preprocessor.pl"
-
export PATH="${VLCROOT}/extras/tools/build/bin:${VLCROOT}/contrib/${TARGET}/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
# contains gas-processor.pl
@@ -178,9 +176,9 @@ mkdir -p "${VLCROOT}/contrib/iPhone${PLATFORM}-${ARCH}"
cd "${VLCROOT}/contrib/iPhone${PLATFORM}-${ARCH}"
if [ "$PLATFORM" = "OS" ]; then
- export AS="${IOS_GAS_PREPROCESSOR} ${CC}"
- export ASCPP="${IOS_GAS_PREPROCESSOR} ${CC}"
- export CCAS="${IOS_GAS_PREPROCESSOR} ${CC}"
+ export AS="gas-preprocessor.pl ${CC}"
+ export ASCPP="gas-preprocessor.pl ${CC}"
+ export CCAS="gas-preprocessor.pl ${CC}"
else
export AS="xcrun as"
export ASCPP="xcrun as"
--
1.8.1.2
More information about the vlc-devel
mailing list