Selaa lähdekoodia

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.
PatTheMav 3 vuotta sitten
vanhempi
sitoutus
7a5bffc0a6
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      CI/full-build-macos.sh

+ 2 - 0
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