ext/libyajl2/extconf.rb in libyajl2-0.1.1 vs ext/libyajl2/extconf.rb in libyajl2-0.1.2
- old
+ new
@@ -211,10 +211,12 @@
DLLIB = $(TARGET).#{config['DLEXT']}
all:
\tcd #{libyajl2_vendor_dir}/src && make
\tcp #{libyajl2_vendor_dir}/src/$(DLLIB) .
install:
-\tcp $(DLLIB) #{prefix}
+\tcp $(DLLIB) #{prefix}/lib
+\tmkdir -p #{prefix}/include/yajl
+\tcp #{libyajl2_vendor_dir}/src/api/*.h #{prefix}/include/yajl
clean:
\tcd #{libyajl2_vendor_dir}/src && make clean
EOF
end
end