Rakefile in libyajl2-1.1.0 vs Rakefile in libyajl2-1.2.0
- old
+ new
@@ -93,10 +93,10 @@
FileUtils.cp Dir["#{vendor_src_path}/api/*.h"], "#{build_path}/yajl"
# apply patches that haven't yet been pushed upstream
Dir["#{build_path}/patches/*"].sort.each do |file|
Dir.chdir build_path
- sh "patch -p2 < #{file}"
+ sh "patch -p2 --binary < #{file}"
end
# generate the yajl_version.h header file without invoking cmake
generate_yajl_version
end