summaryrefslogtreecommitdiffhomepage
path: root/macosx
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-08-27 07:11:08 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-08-27 07:11:08 +0200
commitb04381b44e4fbbfcf88e5e74052464657cf7df25 (patch)
tree09193f071c8be1ca34505f238cfc563e3c3921be /macosx
parent08ec8906f27880d13ee48d16245904489e141a95 (diff)
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
Diffstat (limited to 'macosx')
-rwxr-xr-xmacosx/make-app-bundle.sh4
1 files changed, 2 insertions, 2 deletions
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"