summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-20 13:21:28 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-20 13:21:28 -0700
commit5d7c4f4073b66f3421193726b4970f7c8721214b (patch)
tree4e577b02a0b34ed3b0168630c6aa733b3cb19618
parent7e2610781a032d672ccb03e049a823e5d98c0e2f (diff)
downloadlibyajl2-gem-5d7c4f4073b66f3421193726b4970f7c8721214b.tar.gz
this should really kill off the win def file
-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