CI: Ensure SOVERSION symlinks exist in created App Bundle

Bundles libraries are available via their specific versioned filename
as well as SOVERSION and versionless symlinks. Dylibbundler does _not_
include these symlinks when copying linked libraries into the bundle.

This change ensures that all libraries and their SOVERSION symlinks
exist in the created App Bundle.
This commit is contained in:
PatTheMav 2022-02-19 16:24:40 +01:00 committed by Jim
parent a38d55f945
commit 7a5bffc0a6

View File

@ -422,6 +422,8 @@ prepare_macos_bundle() {
/bin/mv ./OBS.app/Contents/Resources/data/obs-scripting/obspython.py ./OBS.app/Contents/MacOS/
/bin/rm -rf ./OBS.app/Contents/Resources/data/obs-scripting/
fi
# dylibbundler will only copy actually linked files into bundle, but not symlinks
/bin/cp -cpR /tmp/obsdeps/lib/*.dylib ./OBS.app/Contents/Frameworks
bundle_dylibs
install_frameworks