From d401cb1ce974e02fd4a98896ff93be7a46e53500 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 26 Jan 2014 17:26:14 -0800 Subject: [PATCH] Remove code I'm not using to lipo libvncserver.a. --- libvncserver.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libvncserver.sh b/libvncserver.sh index 70fef63..79dd1f1 100755 --- a/libvncserver.sh +++ b/libvncserver.sh @@ -21,7 +21,6 @@ set -e -archs=() function arch() { local arch=$1 local host=$2 @@ -35,7 +34,6 @@ function arch() { return fi - archs+=("${arch}") mkdir "libvncserver.${arch}" flags=() @@ -56,10 +54,3 @@ function arch() { arch armv6 arm-apple-darwin10 iphoneos iphoneos 2.0 -mllvm -arm-reserve-r9 arch arm64 aarch64-apple-darwin11 iphoneos iphoneos 2.0 - -libvncserver=() -for arch in "${archs[@]}"; do - libvncserver+=(libvncserver."${arch}"/.libs/libvncserver.a) -done - -lipo -create -output libvncserver.a "${libvncserver[@]}" -- 2.45.2