Skip to content

Commit 15845e8

Browse files
committed
[GR-18163] Add -Wl,-z,lazy to RbConfig::CONFIG['dldflags']
PullRequest: truffleruby/4391
2 parents 3cfc5c9 + 0dd17e4 commit 15845e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cext/include/truffleruby/truffleruby-abi-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
// $RUBY_VERSION must be the same as TruffleRuby.LANGUAGE_VERSION.
2121
// $ABI_NUMBER starts at 1 and is incremented for every ABI-incompatible change.
2222

23-
#define TRUFFLERUBY_ABI_VERSION "3.2.4.4"
23+
#define TRUFFLERUBY_ABI_VERSION "3.2.4.5"
2424

2525
#endif

lib/truffle/rbconfig.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module RbConfig
108108
defs = ''
109109
cppflags = ''
110110
ldflags = ''
111-
dldflags = Truffle::Platform.darwin? ? '-Wl,-undefined,dynamic_lookup' : ''
111+
dldflags = Truffle::Platform.darwin? ? '-Wl,-undefined,dynamic_lookup' : '-Wl,-z,lazy'
112112

113113
cext_dir = "#{prefix}/lib/cext"
114114
soext = Truffle::Platform::SOEXT

0 commit comments

Comments
 (0)