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.
master
PatTheMav 2022-02-19 16:24:40 +01:00 committed by Jim
parent a38d55f945
commit 7a5bffc0a6
1 changed files with 2 additions and 0 deletions

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