summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-02 15:57:18 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-02 15:57:18 +0000
commit4e4b377a8e8573961709002421d91afd37e3a9e0 (patch)
treec05b5317bd0b486853e97d4c00bf33859ec7ebdb /lib
parent5eccd28bb30b5ebdc57ded504a27fbf488a65050 (diff)
2000-07-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/mkmf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index d14f9bd..1f9373a 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -341,7 +341,7 @@ def create_makefile(target)
end
$DLDFLAGS = CONFIG["DLDFLAGS"]
- if $configure_args['--enable-shared']
+ if $configure_args['--enable-shared'] or /cygwin|mingw/ == RUBY_PLATFORM
$libs = CONFIG["LIBRUBYARG"] + " " + $libs
$DLDFLAGS += " -L" + CONFIG["libdir"]
end