summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-29 16:34:01 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-29 16:34:01 +0000
commit69b463d9a32e523aa918ec74ed908ec490a4d4d0 (patch)
treed18b7ef3680f8d878bbdea0403a687752b6b1a1c /ext/extmk.rb.in
parentb8c26d48bcf47b9a5cff16e9177af20e5e8f3bfd (diff)
* 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 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index 86dd67e..c6f52dd 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -196,7 +196,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>