diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-25 09:51:30 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-25 09:51:30 +0000 |
commit | d0ac50680a23fe94e11ad359e073f4f6ee904925 (patch) | |
tree | 3b495ca5c4dce7aad465c491f35cd9c8bc99b059 /win32 | |
parent | 789215941b3ad3c61c5de57c38f81c91d8e3a02e (diff) | |
download | ruby-d0ac50680a23fe94e11ad359e073f4f6ee904925.tar.gz |
merges r20912 from trunk into ruby_1_9_1.
* cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rb
(Exports#exports): added VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rwxr-xr-x | win32/mkexports.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb index adf0c5e336..cd88e968a5 100755 --- a/win32/mkexports.rb +++ b/win32/mkexports.rb @@ -64,6 +64,7 @@ class Exports exports << "Library " + library end exports << "Description " + description.dump if description + exports << "VERSION #{RbConfig::CONFIG['MAJOR']}.#{RbConfig::CONFIG['MINOR']}" exports << "EXPORTS" << symbols() exports end @@ -132,6 +133,10 @@ class Exports::Mingw < Exports @@nm ||= RbConfig::CONFIG["NM"] end + def exports(*) + super() + end + def each_line(objs, &block) IO.foreach("|#{self.class.nm} --extern --defined #{objs.join(' ')}", &block) end |