[vlc-commits] apple: bundle: remove install_name_tool usage

Alexandre Janniaux git at videolan.org
Sat Mar 13 13:06:35 UTC 2021


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Thu Mar 11 17:58:50 2021 +0100| [82b51438aabd0cbfbd9dc168d252a038ca3dbc45] | committer: Alexandre Janniaux

apple: bundle: remove install_name_tool usage

It was needed because the -rpath option wasn't set correctly on the test
sample.

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

 extras/package/apple/bundle.sh | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/extras/package/apple/bundle.sh b/extras/package/apple/bundle.sh
index 80681beade..5e7def1d51 100755
--- a/extras/package/apple/bundle.sh
+++ b/extras/package/apple/bundle.sh
@@ -28,16 +28,8 @@ rm -f "$IPA"
 rm -rf "Payload/"
 mkdir -p "$APP"
 
-# Find install_name tool in order to set rpath on executable
-INSTALL_NAME_TOOL=$(which install_name_tool || echo "")
-if [ -z "$INSTALL_NAME_TOOL" ]; then
-    echo "install_name_tool not found, aborting..."
-    exit 1
-fi
-
 # VLC core test binary compiled for iOS
 cp "${BUILD_DIR}/test/${APP_EXECUTABLE}" "${APP}/${APP_NAME}"
-${INSTALL_NAME_TOOL} "${APP}/${APP_NAME}" -add_rpath "@executable_path/Frameworks"
 
 # Convert Info.plist from XML to binary
 CONVERT_PLIST "${SCRIPT_DIR}/Info.plist" "Payload/vlccore.app/Info.plist"



More information about the vlc-commits mailing list