diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-29 16:10:24 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-29 16:10:24 +0000 |
commit | b8c26d48bcf47b9a5cff16e9177af20e5e8f3bfd (patch) | |
tree | e403715e73edb68c6206444897135109da372856 /ext | |
parent | a59cf8edc58d46e9cf5d39d2f1999e27939304a8 (diff) | |
download | ruby-b8c26d48bcf47b9a5cff16e9177af20e5e8f3bfd.tar.gz |
* ext/extmk.rb.in, lib/mkmf.rb (have_library): accept -lm
unconditionally on mswin32/mingw32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/extmk.rb.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index 0652ac2e0b..86dd67e558 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -196,6 +196,7 @@ def have_library(lib, func="main") if func && func != "" libs = append_library($libs, lib) if /mswin32|mingw/ =~ RUBY_PLATFORM + return true if lib == 'm' r = try_link(<<"SRC", libs) #include <windows.h> #include <winsock.h> |