From 40d85b5d633568a76c570d01d0ca00463e060c23 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 3 Jul 2017 22:36:39 -0700 Subject: Fix the failing bundle signature on Mac So THAT was why we had moved the plugins... Signed-off-by: Dirk Hohndel --- packaging/macosx/make-package.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packaging/macosx') diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh index 3e122fe17..b227cd6d7 100755 --- a/packaging/macosx/make-package.sh +++ b/packaging/macosx/make-package.sh @@ -66,7 +66,12 @@ for i in Subsurface.app/Contents/PlugIns/grantlee/5.0/*.so; do install_name_tool -change ${OLD} @executable_path/../Frameworks/${SONAME} $i; OLD=$(otool -L $i | grep QtCore | cut -d\ -f1 | tr -d "\t") install_name_tool -change ${OLD} @executable_path/../Frameworks/QtCore.framework/QtCore $i; + mv $i Subsurface.app/Contents/PlugIns/grantlee done +rmdir Subsurface.app/Contents/PlugIns/grantlee/5.0 +pushd Subsurface.app/Contents/PlugIns/grantlee +ln -s . 5.0 +popd # copy things into staging so we can create a nice DMG rm -rf ./staging -- cgit v1.2.3-70-g09d2