diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index 8d1c44ba36..73ecdbec3c 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -634,6 +634,17 @@ elif test x$STRIP = xsome ; then fi find $APPLIB/ -name "*.so*" -print0 | xargs -0 chmod a+rx +# Remove ABI suffix, symlink *.so. +# This fixes plugins that dynamically open libs. +# e.g. JUCE option to lazily loading libcurl.so +( +cd $APPLIB/ +for lib in *.so.[0-9]*; do + link=$(echo $lib | sed 's/\.[0-9]*$//') + ln -s $lib $link; +done +) + echo "Copying other stuff to $APPDIR ..." # these are all generated by waf