From 5d7c4f4073b66f3421193726b4970f7c8721214b Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 20 May 2014 13:21:28 -0700 Subject: this should really kill off the win def file --- ext/libyajl2/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index e492b16..de3e8cd 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -48,7 +48,7 @@ module Libyajl2Build if windows? # on windows this will try to spit out a *.def that exports Init_libyajl which is wrong, we aren't a ruby lib, so we # will never export that. - RbConfig::MAKEFILE_CONFIG['EXTDLDFLAGS'] = '' + RbConfig::MAKEFILE_CONFIG['DLDFLAGS'].gsub!(/\$\(DEFFILE\)/, '') end end -- cgit v1.2.1