[vlc-commits] ios: don't use absolute uninstalled prefix for gas-preprocessor.pl

Rafaël Carré git at videolan.org
Tue Jun 4 19:50:20 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jun  4 14:55:47 2013 +0000| [4e6d36b7ea6860c18dc6927837b260c35819fc8c] | committer: Felix Paul Kühne

ios: don't use absolute uninstalled prefix for gas-preprocessor.pl

It is already available in $PATH

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e6d36b7ea6860c18dc6927837b260c35819fc8c
---

 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"



More information about the vlc-commits mailing list