From 075116c703befab425c917e443887156d04272c0 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Wed, 8 Oct 2014 17:14:46 -0700 Subject: revert munging the dll name it should be libyajl.so on windows, if we rename it then i can't make ffi-yajl link against it correctly. then windows falls back to using the ffi layer and gets very slow. --- ext/libyajl2/extconf.rb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index 462a33b..1e94507 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -104,11 +104,6 @@ EOF system("make >make.out 2>&1") || raise # rubinius doesn't like the output this generates # ...so we can hack up what install does later and copy over the include files - # not sure why ruby windows produces .so's instead of .dll's - if windows? - FileUtils.mv "libyajl.so", "yajl.dll" - end - File.open("Makefile", "w+") do |f| f.write <