diff options
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r-- | ext/extmk.rb.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in index 161eb7b4f4..2ea88ee2dd 100644 --- a/ext/extmk.rb.in +++ b/ext/extmk.rb.in @@ -352,7 +352,7 @@ def extmake(target) return if $nodynamic and not $static $objs = nil - $libs = "-lc" + $libs = PLATFORM =~ /cygwin32/ ? nil : "-lc" $local_libs = nil # to be assigned in extconf.rb $CFLAGS = nil $LDFLAGS = nil |