summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Potkanski <electrawn@yahoo.com>2014-10-14 11:49:41 -0500
committerJason Potkanski <electrawn@yahoo.com>2014-10-14 11:49:41 -0500
commite11f81c3b5d00e11226c308b306e21ab7beb3969 (patch)
tree07ac69c76b03f8e2310fbb4869f23cf808189295
parentd954a1bfab9228d66848ca61564746b3f9ba2f0f (diff)
downloadlibyajl2-gem-e11f81c3b5d00e11226c308b306e21ab7beb3969.tar.gz
Update Rakefile
Patch needs to be in binary on windows, as line endings may be different. If patch fails, generate_yajl_version doesn't get called.
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 4288565..7891676 100644
--- a/Rakefile
+++ b/Rakefile
@@ -95,7 +95,7 @@ task :prep do
# 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