diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-29 16:34:01 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-29 16:34:01 +0000 |
commit | 69b463d9a32e523aa918ec74ed908ec490a4d4d0 (patch) | |
tree | d18b7ef3680f8d878bbdea0403a687752b6b1a1c /lib | |
parent | b8c26d48bcf47b9a5cff16e9177af20e5e8f3bfd (diff) | |
download | ruby-69b463d9a32e523aa918ec74ed908ec490a4d4d0.tar.gz |
* ext/extmk.rb.in, lib/mkmf.rb (have_library): print yes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 9972fbdb1e..be37e1bfe8 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -182,7 +182,10 @@ def have_library(lib, func="main") if func && func != "" libs = append_library($libs, lib) if /mswin32|mingw/ =~ RUBY_PLATFORM - return true if lib == 'm' + if lib == 'm' + print "yes\n" + return true + end r = try_link(<<"SRC", libs) #include <windows.h> #include <winsock.h> |