Repair RPATH for Status native binary

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
This commit is contained in:
Max Risuhin 2018-10-05 18:43:00 +03:00
parent 260d8a5b94
commit 3b998904d2
No known key found for this signature in database
GPG Key ID: BF733F5ACA0B4448
1 changed files with 3 additions and 0 deletions

View File

@ -239,6 +239,9 @@ function bundleMacOS() {
install_name_tool -add_rpath "@executable_path/../Frameworks" \
-delete_rpath "${QT_PATH}/lib" \
'Status.app/Contents/MacOS/reportApp'
install_name_tool -add_rpath "@executable_path/../Frameworks" \
-delete_rpath "${QT_PATH}/lib" \
'Status.app/Contents/MacOS/Status'
cp -f ../deployment/macos/Info.plist Status.app/Contents
cp -f ../deployment/macos/status-icon.icns Status.app/Contents/Resources
$DEPLOYQT Status.app -verbose=$VERBOSE_LEVEL \