From 020e58fb5cda5c1dedf5ee81712de18fc81ecd32 Mon Sep 17 00:00:00 2001 From: Michael Lyle Date: Mon, 12 Feb 2018 19:02:54 -0800 Subject: [PATCH] macos: Ensure that proper relative rpath is added (#2071) --- package/osx/libraries | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/osx/libraries b/package/osx/libraries index 47d798d377..7e1914757d 100755 --- a/package/osx/libraries +++ b/package/osx/libraries @@ -28,6 +28,9 @@ rm libqmlxmllistmodelplugin.dylib ln -s ../../../../Plugins/quick/libqmlxmllistmodelplugin.dylib cd ${CWD} +echo "Adjusting rpath" +install_name_tool -add_rpath "@executable_path/../Frameworks" "${APP}/Contents/MacOS/dRonin-GCS" || true + # Copy SDL files echo "Copying SDL"