Allow harrison channelstrip to use build-stack

This commit is contained in:
Robin Gareus 2023-03-11 16:15:04 +01:00
parent d0fac54261
commit cc359b973f
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -841,6 +841,22 @@ echo "Setting Bundled Media dir/file permissions"
find "${MediaClips}" -type d -exec chmod 755 "{}" \;
find "${MediaClips}" -type f -exec chmod 644 "{}" \;
################################################################################
if test -n "$MIXBUS"; then
for file in `find ${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2 ${PRODUCT_PKG_DIR}/${APPROOT}/lib/ladspa -name "*.so"`; do
echo "Checking Plugin Binary: $file"
changes=""
for lib in `otool -L $file | egrep "(gtk/inst/|/opt/|/local/|libs/$STDCPP)" | awk '{print $1}'` ; do
base=`basename $lib`
changes="$changes -change $lib @executable_path/../lib/$base"
done
if test "x$changes" != "x" ; then
install_name_tool $changes $file
fi
done
fi
################################################################################
if test x$DEMO_SESSION_URL != x ; then