diff --git a/dist/macos/macgstcopy.sh b/dist/macos/macgstcopy.sh index 56b8d7448..8d1638733 100755 --- a/dist/macos/macgstcopy.sh +++ b/dist/macos/macgstcopy.sh @@ -59,6 +59,7 @@ else fi cp -v -f "${GST_PLUGIN_SCANNER}" "${bundledir}/Contents/PlugIns/" || exit 1 +install_name_tool -add_rpath "@loader_path/../Frameworks" "${bundledir}/Contents/PlugIns/$(basename ${GST_PLUGIN_SCANNER})" || exit 1 gst_plugins=" libgstaes