File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
component 'rubygem-nokogiri' do |pkg , _settings , _platform |
2
2
pkg . version '1.14.2'
3
3
pkg . sha256sum 'c765a74aac6cf430a710bb0b6038b8ee11f177393cd6ae8dadc7a44a6e2658b6'
4
- # On macOS when we are not cross compiling we need to use runtime's libxml2 and libxslt
5
- if platform . is_macos? && ! platform . is_cross_compiled?
6
- settings [ :gem_install_options ] = "-- --use-system-libraries \
4
+
5
+ settings [ :gem_install_options ] = "-- platform=ruby -- \
6
+ --use-system-libraries \
7
7
--with-xml2-lib=#{ settings [ :libdir ] } \
8
8
--with-xml2-include=#{ settings [ :includedir ] } /libxml2 \
9
9
--with-xslt-lib=#{ settings [ :libdir ] } \
10
10
--with-xslt-include=#{ settings [ :includedir ] } "
11
- end
12
11
instance_eval File . read ( 'configs/components/_base-rubygem.rb' )
13
12
pkg . build_requires 'rubygem-mini_portile2'
14
13
gem_home = settings [ :gem_home ]
You can’t perform that action at this time.
0 commit comments