Tweak macOS OpenAL packaging
This commit is contained in:
parent
b1dd31e255
commit
65f2c2e041
@ -110,13 +110,21 @@ end
|
|||||||
libFile = "libOpenThreads.#{$openThreadsSoVersion}.dylib"
|
libFile = "libOpenThreads.#{$openThreadsSoVersion}.dylib"
|
||||||
`cp #{$prefixDir}/lib/#{libFile} #{$frameworksDir}`
|
`cp #{$prefixDir}/lib/#{libFile} #{$frameworksDir}`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# DBus and libEvent needed for SWIFT
|
# DBus and libEvent needed for SWIFT
|
||||||
# Sentry is crash reporting
|
# 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|
|
otherLibs.each do |l|
|
||||||
`cp #{$prefixDir}/lib/lib#{l}.dylib #{$frameworksDir}`
|
`cp #{$prefixDir}/lib/lib#{l}.dylib #{$frameworksDir}`
|
||||||
end
|
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
|
# copy LibLZMA from Homebrew XZ
|
||||||
`cp /usr/local/lib/liblzma.dylib #{$frameworksDir}`
|
`cp /usr/local/lib/liblzma.dylib #{$frameworksDir}`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user