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 e1c98d3 commit 6f54491Copy full SHA for 6f54491
ext/pg_query/extconf.rb
@@ -43,7 +43,7 @@ def ext_symbols_filename
43
SYMFILE = File.join(__dir__, ext_symbols_filename)
44
45
if RUBY_PLATFORM =~ /darwin/
46
- $DLDFLAGS << " -Wl,-exported_symbols_list #{SYMFILE}" unless defined?(::Rubinius)
+ $DLDFLAGS << " -Wl,-exported_symbols_list #{SYMFILE}" unless defined?(::Rubinius) || RUBY_ENGINE == 'truffleruby'
47
elsif RUBY_PLATFORM !~ /cygwin|mswin|mingw|bccwin|wince|emx/
48
$DLDFLAGS << " -Wl,--retain-symbols-file=#{SYMFILE}"
49
end
0 commit comments