ext/libyajl2/extconf.rb in libyajl2-1.0.1 vs ext/libyajl2/extconf.rb in libyajl2-1.1.0

- old
+ new

@@ -102,15 +102,10 @@ system("pwd") # we cheat and build it right away... 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 <<EOF TARGET = libyajl DLLIB = $(TARGET).#{RbConfig::MAKEFILE_CONFIG['DLEXT']} all: @@ -118,11 +113,11 @@ EOF if windows? f.write <<EOF install: \tmkdir -p #{prefix}/lib -\tcp yajl.dll #{prefix}/lib/yajl.dll +\tcp libyajl.so #{prefix}/lib/libyajl.so \tcp libyajldll.a #{prefix}/lib/libyajldll.a \tcp libyajl.def #{prefix}/lib/libyajl.def \tmkdir -p #{prefix}/include/yajl \tcp yajl/*.h #{prefix}/include/yajl EOF @@ -139,6 +134,5 @@ end end end Libyajl2Build.makemakefiles -