mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ee90d5d30e
This prepends to install *.rb files to psych/psych. * ext/psych/lib/psych.rb: require 'psych.so'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
16 lines
286 B
Ruby
16 lines
286 B
Ruby
require 'mkmf'
|
|
|
|
# :stopdoc:
|
|
|
|
dir_config 'libyaml'
|
|
|
|
def asplode missing
|
|
abort "#{missing} is missing. Please install libyaml."
|
|
end
|
|
|
|
asplode('yaml.h') unless find_header 'yaml.h'
|
|
asplode('libyaml') unless find_library 'yaml', 'yaml_get_version'
|
|
|
|
create_makefile 'psych'
|
|
|
|
# :startdoc:
|