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 933c94b commit 2ed8d55Copy full SHA for 2ed8d55
ext/libxslt/extconf.rb
@@ -126,12 +126,12 @@ def crash(str)
126
127
RUBY_VERSION =~ /(\d+.\d+)/
128
minor_version = $1
129
-paths = ["#{gem_spec.full_gem_path}/lib",
+paths = ["#{gem_spec.full_gem_path}/lib",
130
"#{gem_spec.full_gem_path}/lib/#{minor_version}",
131
"#{gem_spec.full_gem_path}/ext/libxml"]
132
133
# No need to link xml_ruby on OS X
134
-unless RbConfig::CONFIG['host_os'].match(/darwin/)
+unless RbConfig::CONFIG['host_os'].match(/darwin|linux/)
135
# Hack to make sure ruby library is *after* xml_ruby library
136
$LIBS = "#{$LIBRUBYARG_STATIC} #{$LIBS}"
137
0 commit comments