diff options
author | Jason Potkanski <electrawn@yahoo.com> | 2014-10-14 11:49:41 -0500 |
---|---|---|
committer | Jason Potkanski <electrawn@yahoo.com> | 2014-10-14 11:49:41 -0500 |
commit | e11f81c3b5d00e11226c308b306e21ab7beb3969 (patch) | |
tree | 07ac69c76b03f8e2310fbb4869f23cf808189295 | |
parent | d954a1bfab9228d66848ca61564746b3f9ba2f0f (diff) | |
download | libyajl2-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-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |