Symlink libraries, strip ABI suffix
This exposes libs directly for plugins that may dynamically load e.g. `libcurl.so` at runtime.
This commit is contained in:
parent
46d9a8d819
commit
5cd26221ce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue