nokogiri 1.5.11-x86-mswin32-60 → 1.6.0-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

@@ -0,0 +1,27 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.2
4
+ - 1.9.3
5
+ - ruby-head
6
+ - ree
7
+ - jruby-19mode
8
+ - rbx-19mode
9
+
10
+ jdk:
11
+ - openjdk7
12
+ - openjdk6
13
+
14
+ matrix:
15
+ allow_failures:
16
+ - rvm: rbx-19mode
17
+ exclude:
18
+ - rvm: 1.9.2
19
+ jdk: openjdk7
20
+ - rvm: 1.9.3
21
+ jdk: openjdk7
22
+ - rvm: ruby-head
23
+ jdk: openjdk7
24
+ - rvm: ree
25
+ jdk: openjdk7
26
+ - rvm: rbx-19mode
27
+ jdk: openjdk7
@@ -1,9 +1,40 @@
1
- === 1.5.11 / 2013年12月14日
1
+ === 1.6.1 / 未リリース
2
2
 
3
- * Bugfixes
3
+ * 機能
4
+
5
+ * FreeBSDなど、libiconvがシステム標準ディレクトリ外にある環境でlibxml2がiconvサポート付きで正しくビルドされるようになった
6
+
7
+
8
+ === 1.6.0 / 2013年6月8日
9
+
10
+ 本リリースは1.5.10および1.6.0.rc1を元にしているため、両リリースの改善点を含む
11
+
12
+ * 廃止
13
+
14
+ * TravisのCI対象からRuby 1.8を外した
15
+
16
+
17
+ === 1.6.0.rc1 / 2013年4月14日
18
+
19
+ 本リリースは1.5.9を元にしているため、1.5.10の変更点は含まない
4
20
 
5
- * (JRuby) Fix out of memory bug when certain invalid documents are parsed.
6
- * (JRuby) Fix regression of billion-laughs vulnerability. #586
21
+ *
22
+
23
+ * 実行時依存 gem として mini_portile を追加
24
+ * Ruby 1.9.2以上のみサポート
25
+
26
+
27
+ * 機能
28
+
29
+ * (MRI) libxml 2.8.0 と libxslt 1.2.26 を同梱。
30
+ 環境変数 NOKOGIRI_USE_SYSTEM_LIBRARIES を設定しない限り、 gem のインストール時にコンパイルして使われる。
31
+ VERSION_INFO (および `nokogiri -v`) には、同梱の libxml またはシステムの libxml のいずれが使われているかの情報が含まれる
32
+ * (Windows) libxml 2.8.0 に更新
33
+
34
+
35
+ * 廃止
36
+
37
+ * Ruby 1.8.7以下のサポートを終了
7
38
 
8
39
 
9
40
  === 1.5.10 / 2013年6月7日
@@ -83,7 +114,7 @@
83
114
  * SAXパーザに不正なエンコーディングに渡された場合はArgumentErrorを投げるようにした。#756 (ありがとう、Bradley Schaefer!)
84
115
  * (JRuby) XML宣言の前にスペースがあると、ドキュメントのパーズに失敗する。(#748の修正でこれもなおっている) #790
85
116
  * (JRuby) Nokogiri::XML::Node#content のJRubyの振る舞いがCRubyと同じではない。#794, #797
86
- * (JRuby) で '#' で始まる文字列を名前とする EntityReference を作ろうとすると INVALID_CHARACTER_ERR という例外が発生する。 #719
117
+ * (JRuby) で '#' で始まる文字列を名前とする EntityReference を作ろうとすると INVALID_CHARACTER_ERR という例外がはっせいする。 #719
87
118
  * (JRuby) では Nodeのサブクラスのnamespaceを正しく文字列に変換しない。 #715
88
119
  * (JRuby) Node#contentがこのバージョンから改行コードを正しく表示するようになった。#737 (ありがとう、Piotr Szmielew!)
89
120
  * (JRuby) recover optionが指定されている場合は宣言の無い名前空間を無視するようにした。#748
@@ -116,7 +147,7 @@
116
147
  * JRuby で US-ASCII にエンコードされた文字列が正しくないエンコードを返してくる。 #583
117
148
  * 512 文字以上が与えられたときに XmlSaxPushParser が IndexOutOfBoundsException を投げる。#567, #615
118
149
  * Xpath を評価した結果、空の NodeSet が帰ってくる場合に、NodeSet が持っている Document の decorate に失敗して例外が投げられる。#514
119
- * JRuby で xpath を namespace 付きで指定した場合に、エラーが発生する。pull request #681 (ありがとう, Piotr Szmielew)
150
+ * JRuby で xpath を namespace 付きで指定した場合に、エラーが発生する。pull request #681 (ありがとう, Piotr Szmielew)
120
151
  * JRuby で Nokogiri::XML::Node を継承したクラスを定義すると、namespace が表示されない。 #695
121
152
  * JRuby で RDF::RDFXML::Writer をインスタンス化しようとすると NAMESPACE_ERR (org.w3c.dom.DOMException) が発生する. #683
122
153
  * JRuby で xpath に namespaces を指定すると例外が発生する. #493
@@ -143,7 +174,7 @@
143
174
  パース時にネットワークに接続して外部のドキュメントを見にいかせたい場合には、以下のように `nonoet` オプションを設定する:
144
175
 
145
176
  Nokogiri::XML::Document.parse(xml) { |config| config.nononet }
146
-
177
+
147
178
  ここに、自分ならではの二重否定のジョークをうめこむとなおよし。
148
179
 
149
180
 
@@ -180,38 +211,45 @@
180
211
  * 新機能
181
212
 
182
213
  * XML::Builder#comment はコメントノードを作れるようになった.
183
- * CSSセレクター検索が名前空間付き属性に対応 #593
184
- * Java integration 機能が追加された. このバージョンから,
214
+ * CSS searches now support namespaced attributes. #593
215
+ * Java integration 機能が追加された. このバージョンから,
185
216
  XML::Document.wrap と XML::Document#to_java メソッドが利用可能。
186
- * `nokogiri` CLIユーティリティがRelaxNGバリデーションに対応 #591 (thanks, Dan Radez!)
217
+ * RelaxNG validator support in the `nokogiri` cli utility. #591 (thanks, Dan Radez!)
187
218
 
188
219
  * バグの修正
189
220
 
190
- * エンコーディング自動認識において発生しうるメモリリークを修正
221
+ * エンコーディング自動認識において発生しうるメモリリークを修正.
191
222
  Tim Elliottに感謝!
192
- * homebrew がインストールされていたら、extconf は homebrew のパスを読む。
193
- * Java版の一貫性のない挙動 #620
194
- * JRuby (1.6.4/5) Nokogiri::XML::Node を継承できなかった #560
195
- * XML::Attr ノードは子ノードとして追加できないので例外を出す #558
196
- * Node#add_next_sibling Node#add_previous_sibling で隣接テキストノードをdupする条件を緩和 #595
197
- * Java版の一貫性のない挙動: 空の属性値をnilとして返していた #589
198
- * to_xhtml が要素が空のときに <p /></p> と誤ったタグを生成していた #557
199
- * Document#add_child Node, NodeSet, DocumentFragment および
200
- String を受け付けるようになった #546
201
- * Document#create_element が("SOAP-ENV"のように)非単語構成文字を含む名前空間を認識するようになった. これは主に Builder を使う際に効いてくる. Builder はほぼすべてのものに Document#create_element を適用するためである #531
202
- * ファイルエンコーディングが効かなかった (1.5.0 / jruby / windows) #529
203
- * Java版において、<html>タグに含まれる名前空間定義を属性として返さなかった #542
204
- * Nokogiri 1.5.0で Bad file descriptor が発生していた #495
205
- * remove_namespace! がpure Java版で動かなかった #492
206
- * Javaネイティブ版でパースされたオブジェクトに対して ActiveSupport の .blank? メソッドを呼ぶと null pointer exception が発生していた #489
207
- * 1.5.0 で正しい文字エンコーディングが仕様されなかった #488
208
- * XML Builder に生のXML文字列を渡した際の問題 (JRuby) #486
209
- * Nokogiri 1.5.0でXML生成が壊れていた (JRuby) #484
210
- * ルートノードを複数持つことを認めない #550
211
- * カスタムXPath関数を修正 #606 (Juan Wajnermanに感謝!)
212
- * Node#to_xml :save_with が指定されている場合は上書きしないように修正 #505
213
- * Node#set をプライベートメソッドに (JRuby) #564 (Nick Siegerに感謝!)
214
- * C14nの整理と Node#canonicalize (Ivan Pirlikに感謝!) #563
223
+ * homebrew はインストールしたら、extconf は homebrew のパスを読む。
224
+ * Inconsistent behavior of Nokogiri 1.5.0 Java #620
225
+ * Inheriting from Nokogiri::XML::Node on JRuby (1.6.4/5) fails #560
226
+ * XML::Attr nodes are not allowed to be added as node children, so an
227
+ exception is raised. #558
228
+ * No longer defensively "pickle" adjacent text nodes on
229
+ Node#add_next_sibling and Node#add_previous_sibling calls. #595.
230
+ * Java version inconsistency: it returns nil for empty attributes #589
231
+ * to_xhtml incorrectly generates <p /></p> when tag is empty #557
232
+ * Document#add_child now accepts a Node, NodeSet, DocumentFragment,
233
+ or String. #546.
234
+ * Document#create_element now recognizes namespaces containing
235
+ non-word characters (like "SOAP-ENV"). This is mostly relevant to
236
+ users of Builder, which calls Document#create_element for nearly
237
+ everything. #531.
238
+ * File encoding broken in 1.5.0 / jruby / windows #529
239
+ * Java version does not return namespace defs as attrs for ::HTML #542
240
+ * Bad file descriptor with Nokogiri 1.5.0 #495
241
+ * remove_namespace! doesn't work in pure java version #492
242
+ * The Nokogiri Java native build throws a null pointer exception when
243
+ ActiveSupport's .blank? method is called directly on a parsed object.
244
+ #489
245
+ * 1.5.0 Not using correct character encoding #488
246
+ * Raw XML string in XML Builder broken on JRuby #486
247
+ * Nokogiri 1.5.0 XML generation broken on JRuby #484
248
+ * Do not allow multiple root nodes. #550
249
+ * Fixes for custom XPath functions. #605, #606 (thanks, Juan Wajnerman!)
250
+ * Node#to_xml does not override :save_with if it is provided. #505
251
+ * Node#set is a private method (JRuby). #564 (thanks, Nick Sieger!)
252
+ * C14n cleanup and Node#canonicalize (thanks, Ivan Pirlik!) #563
215
253
 
216
254
 
217
255
  === 1.5.0 / 2011年7月1日
@@ -395,7 +433,7 @@
395
433
 
396
434
  * ノート
397
435
 
398
- * 今日4月18日現在、Windows gems は libxml 2.7.7 とlibxslt
436
+ * 今日4月18日現在、Windows gems は libxml 2.7.7 とlibxslt
399
437
  1.1.26にDLLsを標準装備しています。このリリース以前にも既にDLLsはlibxml
400
438
  2.7.3 と libxslt 1.1.24に標準装備済み。
401
439
 
@@ -687,26 +725,26 @@
687
725
 
688
726
  * バグの修正
689
727
 
690
- * HTML のノードに \r のエンティティを含めない
728
+ * HTML のノードを \r のエンティティを含まない
691
729
  * CSS::SelectorHandler と XML::XPathHandler を除去
692
- * XML::Node#attributes が Attr node を値として返す
693
- * XML::NodeSet が to_xml を実装
730
+ * XML::Node#attributes が Attr node を value値に返す
731
+ * XML::NodeSet が to_xml へ実行
694
732
 
695
733
 
696
734
  === 1.1.0
697
735
 
698
736
  * 新しい機能
699
737
 
700
- * カスタム XPath 機能を追加。( Nokogiri::XML::Node#xpath 参照 )
701
- * カスタム CSS 擬似クラスと機能を追加。( Nokogiri::XML::Node#css 参照 )
738
+ * カスタム XPath 機能はある。( Nokogiri::XML::Node#xpath 参照 )
739
+ * カスタム CSS 擬似クラスと機能はある。( Nokogiri::XML::Node#css 参照 )
702
740
  * Nokogiri::XML::Node#<< が作成中に子ノードを自動追加
703
741
 
704
742
  * バグの修正
705
743
 
706
744
  * mutex が CSS のキャッシュのアクセスをロックする
707
745
  * GCC 3.3.5 のビルドに関する問題を修正
708
- * XML::Node#to_xml が引数indentationを取る
709
- * XML::Node#dup が引数任意のdepthを取る
746
+ * XML::Node#to_xml が引数indentationを取る
747
+ * XML::Node#dup が引数任意のdepthを取る
710
748
  * XML::Node#add_previous_sibling が新しい兄弟ノードで返す
711
749
 
712
750
 
@@ -715,10 +753,10 @@
715
753
  * バグの修正
716
754
 
717
755
  * Dike 使用時中のメモリーリークの修正
718
- * SAX パーサーが IO Stream を逐次解析
756
+ * SAX パーサーが現在 IO Stream 同時解析
719
757
  * コメント nodes が独自のクラスを継承する
720
758
  * Nokogiri() は Nokogiri.parse() へデリゲートする
721
- * ENV['PATH'] に付加する代わりに先頭へ挿入する (Windows)
759
+ * ENV['PATH'] に付加せれる代わりに先頭へデータ挿入される
722
760
  * 複雑な CSS 内のバグを修正完了 :not selector ではありません
723
761
 
724
762
 
@@ -737,7 +775,7 @@
737
775
 
738
776
  * バグフィックス
739
777
 
740
- * メーリングリストを作成
778
+ * メーリンクリストを作成
741
779
  * バグファイルを作成
742
780
  * Windows 内で ENV['PATH'] が存在しない場合でも、存在出来るように設定完了
743
781
  * Document 内の NodeSet#[] の結果をキャッシュする
@@ -757,7 +795,7 @@
757
795
 
758
796
  * 5つのバグ修正
759
797
 
760
- * NodeSet が to_ary を実装
798
+ * NodeSet が to_ary へ実行
761
799
  * XML::Document#parent を除去
762
800
  * GCバグ修正済み (Mike は最高!)
763
801
  * 1.8.5互換性の為の RARRAY_LEN 除去
@@ -768,7 +806,7 @@
768
806
 
769
807
  * 1つのバグ修正
770
808
 
771
- * extconf.rb は frex や racc の存在をチェックすべきでない
809
+ * extconf.rb は frex や racc を調べないはず
772
810
 
773
811
 
774
812
  === 1.0.1
@@ -1,16 +1,54 @@
1
- === 1.5.11 / 2013-12-14
1
+ === 1.6.1 / unreleased
2
2
 
3
- * Bugfixes
3
+ * Features
4
+
5
+ * Nokogiri now builds libxml2 properly with iconv support on platforms
6
+ where libiconv is installed outside the system default directories,
7
+ such as FreeBSD.
8
+
9
+
10
+ === 1.6.0 / 2013-06-08
11
+
12
+ This release was based on v1.5.10 and 1.6.0.rc1, and contains changes
13
+ mentioned in both.
14
+
15
+ * Deprecations
16
+
17
+ * Remove pre 1.9 monitoring from Travis.
18
+
19
+
20
+ === 1.6.0.rc1 / 2013-04-14
21
+
22
+ This release was based on v1.5.9, and so does not contain any fixes
23
+ mentioned in the notes for v1.5.10.
24
+
25
+ * Notes
26
+
27
+ * mini_portile is now a runtime dependency
28
+ * Ruby 1.9.2 and higher now required
29
+
30
+
31
+ * Features
32
+
33
+ * (MRI) Source code for libxml 2.8.0 and libxslt 1.2.26 is packaged
34
+ with the gem. These libraries are compiled at gem install time
35
+ unless the environment variable NOKOGIRI_USE_SYSTEM_LIBRARIES is
36
+ set. VERSION_INFO (also `nokogiri -v`) exposes whether libxml was
37
+ compiled from packaged source, or the system library was used.
38
+ * (Windows) libxml upgraded to 2.8.0
39
+
40
+
41
+ * Deprecations
42
+
43
+ * Support for Ruby 1.8.7 and prior has been dropped
4
44
 
5
- * (JRuby) Fix out of memory bug when certain invalid documents are parsed.
6
- * (JRuby) Fix regression of billion-laughs vulnerability. #586
7
45
 
8
46
  === 1.5.10 / 2013-06-07
9
47
 
10
48
  * Bugfixes
11
49
 
12
50
  * (JRuby) Fix "null document" error when parsing an empty IO in jruby 1.7.3. #883
13
- * (JRuby) Fix schema validation when XSD has DOCTYPE set to DTD. #861 (Thanks, Patrick Cheng!)
51
+ * (JRuby) Fix schema validation when XSD has DOCTYPE set to DTD. #912 (Thanks, Patrick Cheng!)
14
52
  * (MRI) Fix segfault when there is no default subelement for an HTML node. #917
15
53
 
16
54
 
data/Gemfile ADDED
@@ -0,0 +1,21 @@
1
+ # -*- ruby -*-
2
+
3
+ # DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
4
+
5
+ source "https://rubygems.org/"
6
+
7
+
8
+ gem "hoe-bundler", ">=1.1", :group => [:development, :test]
9
+ gem "hoe-debugging", ">=1.0.3", :group => [:development, :test]
10
+ gem "hoe-gemspec", ">=1.0", :group => [:development, :test]
11
+ gem "hoe-git", ">=1.4", :group => [:development, :test]
12
+ gem "mini_portile", ">=0.2.2", :group => [:development, :test]
13
+ gem "minitest", "~>2.2.2", :group => [:development, :test]
14
+ gem "rake", ">=0.9", :group => [:development, :test]
15
+ gem "rake-compiler", "~>0.8.0", :group => [:development, :test]
16
+ gem "racc", ">=1.4.6", :group => [:development, :test], :platform => :ruby
17
+ gem "rexical", ">=1.0.5", :group => [:development, :test], :platform => :ruby
18
+ gem "rdoc", "~>3.10", :group => [:development, :test]
19
+ gem "hoe", "~>2.16", :group => [:development, :test]
20
+
21
+ # vim: syntax=ruby
@@ -1,8 +1,10 @@
1
1
  .autotest
2
2
  .gemtest
3
+ .travis.yml
3
4
  CHANGELOG.ja.rdoc
4
5
  CHANGELOG.rdoc
5
6
  C_CODING_STYLE.rdoc
7
+ Gemfile
6
8
  Manifest.txt
7
9
  README.ja.rdoc
8
10
  README.rdoc
@@ -12,6 +14,7 @@ STANDARD_RESPONSES.md
12
14
  Y_U_NO_GEMSPEC.md
13
15
  bin/nokogiri
14
16
  build_all
17
+ dependencies.yml
15
18
  ext/java/nokogiri/EncodingHandler.java
16
19
  ext/java/nokogiri/HtmlDocument.java
17
20
  ext/java/nokogiri/HtmlElementDescription.java
@@ -219,6 +222,7 @@ test/files/2ch.html
219
222
  test/files/address_book.rlx
220
223
  test/files/address_book.xml
221
224
  test/files/bar/bar.xsd
225
+ test/files/bogus.xml
222
226
  test/files/dont_hurt_em_why.xml
223
227
  test/files/encoding.html
224
228
  test/files/encoding.xhtml
@@ -229,6 +233,10 @@ test/files/metacharset.html
229
233
  test/files/noencoding.html
230
234
  test/files/po.xml
231
235
  test/files/po.xsd
236
+ test/files/saml/saml20assertion_schema.xsd
237
+ test/files/saml/saml20protocol_schema.xsd
238
+ test/files/saml/xenc_schema.xsd
239
+ test/files/saml/xmldsig_schema.xsd
232
240
  test/files/shift_jis.html
233
241
  test/files/shift_jis.xml
234
242
  test/files/snuggles.xml
@@ -253,6 +261,10 @@ test/html/test_element_description.rb
253
261
  test/html/test_named_characters.rb
254
262
  test/html/test_node.rb
255
263
  test/html/test_node_encoding.rb
264
+ test/namespaces/test_additional_namespaces_in_builder_doc.rb
265
+ test/namespaces/test_namespaces_in_builder_doc.rb
266
+ test/namespaces/test_namespaces_in_created_doc.rb
267
+ test/namespaces/test_namespaces_in_parsed_doc.rb
256
268
  test/test_convert_xpath.rb
257
269
  test/test_css_cache.rb
258
270
  test/test_encoding_handler.rb
data/ROADMAP.md CHANGED
@@ -32,7 +32,7 @@
32
32
  * https://github.com/sparklemotion/nokogiri/issues/451
33
33
  chained :not pseudoselectors
34
34
 
35
- * better jQuery selector support:
35
+ * better jQuery selector and CSS pseudo-selector support:
36
36
  * https://github.com/sparklemotion/nokogiri/issues/621
37
37
  * https://github.com/sparklemotion/nokogiri/issues/342
38
38
  * https://github.com/sparklemotion/nokogiri/issues/628
data/Rakefile CHANGED
@@ -32,22 +32,23 @@ HOE = Hoe.spec 'nokogiri' do
32
32
 
33
33
  self.extra_rdoc_files = FileList['*.rdoc','ext/nokogiri/*.c']
34
34
 
35
- self.licenses = ['MIT']
36
-
37
35
  self.clean_globs += [
38
36
  'nokogiri.gemspec',
39
37
  'lib/nokogiri/nokogiri.{bundle,jar,rb,so}',
40
- 'lib/nokogiri/{1.8,1.9,2.0}',
38
+ 'lib/nokogiri/{1.9,2.0}',
41
39
  # GENERATED_PARSER,
42
40
  # GENERATED_TOKENIZER
43
41
  ]
44
42
 
43
+ self.extra_deps += [
44
+ ["mini_portile", "~> 0.5.0"],
45
+ ]
46
+
45
47
  self.extra_dev_deps += [
46
48
  ["hoe-bundler", ">= 1.1"],
47
49
  ["hoe-debugging", ">= 1.0.3"],
48
50
  ["hoe-gemspec", ">= 1.0"],
49
51
  ["hoe-git", ">= 1.4"],
50
- ["mini_portile", ">= 0.2.2"],
51
52
  ["minitest", "~> 2.2.2"],
52
53
  ["rake", ">= 0.9"],
53
54
  ["rake-compiler", "~> 0.8.0"],
@@ -60,7 +61,7 @@ HOE = Hoe.spec 'nokogiri' do
60
61
  else
61
62
  self.spec_extras = {
62
63
  :extensions => ["ext/nokogiri/extconf.rb"],
63
- :required_ruby_version => '>= 1.8.7'
64
+ :required_ruby_version => '>= 1.9.2'
64
65
  }
65
66
  end
66
67
 
@@ -108,6 +109,21 @@ else
108
109
 
109
110
  HOE.spec.files.reject! { |f| f =~ %r{\.(java|jar)$} }
110
111
 
112
+ windows_p = RbConfig::CONFIG['target_os'] == 'mingw32' || RbConfig::CONFIG['target_os'] =~ /mswin/
113
+
114
+ unless windows_p || java?
115
+ task gem_build_path do
116
+ add_file_to_gem "dependencies.yml"
117
+
118
+ dependencies = YAML.load_file("dependencies.yml")
119
+ %w[libxml2 libxslt].each do |lib|
120
+ version = dependencies[lib]
121
+ archive = File.join("ports", "archives", "#{lib}-#{version}.tar.gz")
122
+ add_file_to_gem archive
123
+ end
124
+ end
125
+ end
126
+
111
127
  Rake::ExtensionTask.new("nokogiri", HOE.spec) do |ext|
112
128
  ext.lib_dir = File.join(*['lib', 'nokogiri', ENV['FAT_DIR']].compact)
113
129
  ext.config_options << ENV['EXTOPTS']
@@ -196,7 +212,7 @@ end
196
212
 
197
213
  desc "build a windows gem without all the ceremony."
198
214
  task "gem:windows" => "gem" do
199
- cross_rubies = ["1.8.7-p358", "1.9.3-p194", "2.0.0-p0"]
215
+ cross_rubies = ["1.9.3-p194", "2.0.0-p0"]
200
216
  ruby_cc_version = cross_rubies.collect { |_| _.split("-").first }.join(":") # e.g., "1.8.7:1.9.2"
201
217
  rake_compiler_config_path = "#{ENV['HOME']}/.rake-compiler/config.yml"
202
218
 
@@ -224,7 +240,7 @@ task "gem:windows" => "gem" do
224
240
  raise "rbconfig #{rbconfig_20} needs --export-all in its DLDFLAGS value" if File.read(rbconfig_20).split("\n").grep(/CONFIG\["DLDFLAGS"\].*--export-all/).empty?
225
241
 
226
242
  pkg_config_path = %w[libxslt libxml2].collect { |pkg| File.join($recipes[pkg].path, "lib/pkgconfig") }.join(":")
227
- sh("env PKG_CONFIG_PATH=#{pkg_config_path} RUBY_CC_VERSION=#{ruby_cc_version} rake cross native gem") || raise("build failed!")
243
+ sh("env PKG_CONFIG_PATH=#{pkg_config_path} RUBY_CC_VERSION=#{ruby_cc_version} rake cross2 native gem") || raise("build failed!")
228
244
  end
229
245
 
230
246
  # vim: syntax=Ruby