From: Ariff Abdullah Date: 2002-09-25T17:14:55+09:00 Subject: mkmf.rb (1.7) causing confusion on mswin32 I just notice few mistake in mkmf.rb (ruby 1.7.3) since Sept 24, causing much grief compiling extensions on mswin32 (using msvc) Here is the patch to remedy such horror: --- mkmf.rb.orig Tue Sep 24 11:29:56 2002 +++ mkmf.rb Wed Sep 25 16:11:23 2002 @@ -211,8 +211,11 @@ def libpathflag if $mswin ENV['LIB'] = ($LIBPATH + [ORIG_LIBPATH]).join(';') - yield "" - ENV['LIB'] = ORIG_LIBPATH + begin + yield "" + ensure + ENV['LIB'] = ORIG_LIBPATH + end else yield $LIBPATH.map{|x| %Q[#{LIBPATHFLAG}"#{x}"]}.join end