We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54498b0 commit 6300a03Copy full SHA for 6300a03
src/main/c/cext/extconf.rb
@@ -23,4 +23,10 @@ module Truffle::Platform
23
# -DRUBY_EXPORT is added in MRI's configure.in.
24
$CFLAGS << " -DRUBY_EXPORT"
25
26
+if Truffle::Platform.darwin?
27
+ # Set the install_name of libtruffleruby on macOS, so mkmf executables linking to it
28
+ # will know they need to look at the rpath to find it.
29
+ $LIBRUBYARG = "-Wl,-install_name,@rpath/libtruffleruby.dylib #{$LIBRUBYARG}"
30
+end
31
+
32
create_makefile('libtruffleruby')
0 commit comments