diff --git a/hudson_mac_package_release.rb b/hudson_mac_package_release.rb index 12ccf19..b3bb237 100755 --- a/hudson_mac_package_release.rb +++ b/hudson_mac_package_release.rb @@ -110,13 +110,21 @@ end libFile = "libOpenThreads.#{$openThreadsSoVersion}.dylib" `cp #{$prefixDir}/lib/#{libFile} #{$frameworksDir}` + + # DBus and libEvent needed for SWIFT # Sentry is crash reporting -otherLibs = ['dbus-1.3', 'event_core-2.2.1', 'sentry', 'openal.1.21.1'] +otherLibs = ['dbus-1.3', 'event_core-2.2.1', 'sentry'] otherLibs.each do |l| `cp #{$prefixDir}/lib/lib#{l}.dylib #{$frameworksDir}` end +# copy OpenAL, but ensure we use the correct dest name for the @rpath value +# this could be nicer but Jenkins 'archive artefacts' doesn't want to +# archive the symlink so we only get the fully versioned .dylib +# in the artefacts +`cp #{$prefixDir}/lib/libopenal.1.*.dylib #{$frameworksDir}/libopenal.1.dylib` + # copy LibLZMA from Homebrew XZ `cp /usr/local/lib/liblzma.dylib #{$frameworksDir}`