From b04381b44e4fbbfcf88e5e74052464657cf7df25 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 27 Aug 2023 07:11:08 +0200 Subject: osx: use macdeployqt properly Using install-fail-tool with macdeployqt together will load duplicate copies of the shared libraries into the process, leading to crashes. Reported by: @matatata Issue: #1705 --- macosx/make-app-bundle.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx') diff --git a/macosx/make-app-bundle.sh b/macosx/make-app-bundle.sh index 93974243..d04dc1bd 100755 --- a/macosx/make-app-bundle.sh +++ b/macosx/make-app-bundle.sh @@ -38,9 +38,9 @@ cp "$dir/PkgInfo" "$install/$APPNAME.app/Contents/" mkdir -p "$install/$APPNAME.app/Contents/MacOS/Plugins" cp -r "$install/Plugins" "$install/$APPNAME.app/Contents/MacOS/" -# Add framework and other libraries and fixup other libraries +# Use either of these, two of them at the same time will break things! macdeployqt "$install/$APPNAME.app" -libpath="$install/Library" -sh "$dir/install-fail-tool" "$install/$APPNAME.app/Contents/Frameworks" +#sh "$dir/install-fail-tool" "$install/$APPNAME.app/Contents/Frameworks" # Create an 512 resolution size for the icon (for retina displays mostly) #gm convert -size 512x512 "$dir/../gui/images/opentrack.png" "$tmp/opentrack.png" -- cgit v1.2.3