From a75687abec36bc3e8178cccf86ecc5c507f0fba2 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Sat, 19 Feb 2022 16:24:40 +0100 Subject: [PATCH] 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. --- CI/full-build-macos.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CI/full-build-macos.sh b/CI/full-build-macos.sh index 96cb9b1fb..a0c0e6973 100755 --- a/CI/full-build-macos.sh +++ b/CI/full-build-macos.sh @@ -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