Skip to content

Commit f7e8e6d

Browse files
committed
Use the vendored libxml2/libxslt for nokogiri
* Fixes #62
1 parent 7b18925 commit f7e8e6d

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Bug fixes:
2525
Compatibility:
2626

2727
* Prepend the GraalVM LLVM Toolchain to `PATH` when installing gems (#1974, #1088, #1343, #1400, #1947, #1931, #1588).
28+
* Installing the `nokogiri` gem now defaults to use the vendored `libxml2` and `libxslt`, similar to CRuby, which means the corresponding system packages are no longer needed (#62).
2829
* Implemented `$LOAD_PATH.resolve_feature_path`.
2930
* Add `Pathname#/` alias to `Pathname#+` (#2178).
3031
* Fixed issue with large `Integer`s in `Math.log` (#2184).

lib/mri/mkmf.rb

-7
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,6 @@
4848
end
4949
end
5050

51-
if defined?(::TruffleRuby)
52-
# Always use the system libxml/libxslt for Nokogiri on TruffleRuby. This is
53-
# currently required as TruffleRuby cannot yet link to static libraries.
54-
# See https://github.com/sparklemotion/nokogiri/pull/2085 when solving this.
55-
ENV['NOKOGIRI_USE_SYSTEM_LIBRARIES'] = 'true'
56-
end
57-
5851
if defined?(::TruffleRuby) and Truffle::Boot.get_option('cexts-prepend-toolchain-to-path')
5952
ENV['PATH'] = "#{RbConfig::CONFIG['toolchain_path']}:#{ENV['PATH']}"
6053
end

0 commit comments

Comments
 (0)