diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-29 17:27:11 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-29 17:27:11 +0000 |
commit | cca1236d0dc824746d1960964dc0dbc0c8cd7b2d (patch) | |
tree | ad012d9f295e432a42459bb18d52ad896baf35ce /ext | |
parent | 3c4d5fd8bf52e1095f85304e1d4f0744cbf4eaab (diff) |
* ext/extmk.rb.in (have_library): do not print yes. sigh.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb.in | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index 33622c73ad..cefb5052fc 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -191,10 +191,7 @@ def have_library(lib, func="main") if func && func != "" libs = append_library($libs, lib) if /mswin32|mingw/ =~ RUBY_PLATFORM - if lib == 'm' - print "yes\n" - return true - end + return true if lib == 'm' r = try_link(<<"SRC", libs) #include <windows.h> #include <winsock.h> |