[vlc-devel] [PATCH 5/5] apple: bundle: remove install_name_tool usage

Alexandre Janniaux ajanni at videolabs.io
Thu Mar 11 18:49:31 UTC 2021


Hi,

Sorry this conflict with another patchset I've sent, so
this patch is meant to be merge after the previous ones.

Regards,
--
Alexandre Janniaux
Videolabs

On Thu, Mar 11, 2021 at 06:39:34PM +0100, Alexandre Janniaux wrote:
> It was needed because the -rpath option wasn't set correctly on the test
> sample.
> ---
>  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"
> --
> 2.30.2
>


More information about the vlc-devel mailing list