summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-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 86dd67e558..c6f52dd206 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>