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 5939f82..a1a94a1 100644
--- a/ext/libyajl2/extconf.rb
+++ b/ext/libyajl2/extconf.rb
@@ -34,7 +34,7 @@ module Libyajl2Build
# create the implib on windows
if windows?
- $LDFLAGS << " -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--out-implib=yajl.dll.a"
+ $LDFLAGS << " -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--out-implib=yajl.dll.a -Wl,--output-def,yajl.def"
end
end