summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/extmk.rb.nt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/extmk.rb.nt b/ext/extmk.rb.nt
index 436cac295f..509bca398d 100644
--- a/ext/extmk.rb.nt
+++ b/ext/extmk.rb.nt
@@ -322,7 +322,7 @@ VPATH = .
CC = cl
-CFLAGS = %s -I../.. -I../../missing -I../../win32 -I. -O -DNT %s #{CFLAGS} #$CFLAGS %s
+CFLAGS = %s -I../.. -I../../missing -I../../win32 -I. -O -DNT %s #{CFLAGS} #{$CFLAGS} %s
RUBYLIB = ../../ruby.lib
DLDFLAGS = /DLL
@@ -436,6 +436,7 @@ def extmake(target)
return if $nodynamic and not $static
+ $objs = nil
$LOCAL_LIBS = "" # to be assigned in extconf.rb
$CFLAGS = ""
$LDFLAGS = ""