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 9928061 commit ba15f86Copy full SHA for ba15f86
ext/libxslt/extconf.rb
@@ -130,8 +130,12 @@ def crash(str)
130
"#{gem_spec.full_gem_path}/lib/#{minor_version}",
131
"#{gem_spec.full_gem_path}/ext/libxml"]
132
133
+is_osx = RbConfig::CONFIG['host_os'].match(/darwin/)
134
+is_rbx = defined?(RUBY_ENGINE) && (RUBY_ENGINE == "rbx")
135
+
136
# No need to link xml_ruby on OS X
-unless RbConfig::CONFIG['host_os'].match(/darwin/)
137
+# Also do not link on rubinius
138
+unless (is_osx or is_rbx)
139
# Hack to make sure ruby library is *after* xml_ruby library
140
$LIBS = "#{$LIBRUBYARG_STATIC} #{$LIBS}"
141
0 commit comments