summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/libyajl2/extconf.rb2
1 files changed, 1 insertions, 1 deletions
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