mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Workaround bug in XCode 14.2 linker not respecting RTLD_LAZY
* See https://github.com/oracle/truffleruby/issues/3390
This commit is contained in:
@@ -58,6 +58,12 @@ export async function install(platform, engine, version) {
|
||||
}
|
||||
}
|
||||
|
||||
// https://github.com/oracle/truffleruby/issues/3390
|
||||
if (engine.startsWith('truffleruby') && common.floatVersion(version) >= 24.0 && !common.isSelfHostedRunner() && common.getOSNameVersionArch() === 'macos-12-x64') {
|
||||
console.log('Setting MACOSX_DEPLOYMENT_TARGET=11.0 to workaround bug in XCode 14.2 linker not respecting RTLD_LAZY, see https://github.com/oracle/truffleruby/issues/3390')
|
||||
core.exportVariable('MACOSX_DEPLOYMENT_TARGET', '11.0')
|
||||
}
|
||||
|
||||
return rubyPrefix
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user