mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/psych/extconf.rb: added --enable-bundled-libyaml option. this
enforces using bundled libyaml. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9694bb8cac
commit
a985c5898c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Nov 29 15:53:38 2012 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/psych/extconf.rb: added --enable-bundled-libyaml option. this
|
||||||
|
enforces using bundled libyaml.
|
||||||
|
|
||||||
Thu Nov 29 15:51:54 2012 Eric Hodel <drbrain@segment7.net>
|
Thu Nov 29 15:51:54 2012 Eric Hodel <drbrain@segment7.net>
|
||||||
|
|
||||||
* lib/rubygems*: Updated to RubyGems 2.0
|
* lib/rubygems*: Updated to RubyGems 2.0
|
||||||
|
|
|
@ -6,7 +6,7 @@ require 'fileutils'
|
||||||
|
|
||||||
dir_config 'libyaml'
|
dir_config 'libyaml'
|
||||||
|
|
||||||
unless find_header('yaml.h') && find_library('yaml', 'yaml_get_version')
|
if enable_config("bundled-libyaml", false) || !(find_header('yaml.h') && find_library('yaml', 'yaml_get_version'))
|
||||||
# Embed libyaml since we could not find it.
|
# Embed libyaml since we could not find it.
|
||||||
|
|
||||||
$VPATH << "$(srcdir)/yaml"
|
$VPATH << "$(srcdir)/yaml"
|
||||||
|
|
Loading…
Reference in a new issue