Skip to content

Commit

Permalink
Makefile: Using the --binary switch to patch
Browse files Browse the repository at this point in the history
This would otherwise fail when building on Windows/Cygwin
  • Loading branch information
daladim committed Jun 7, 2020
1 parent 1818968 commit 10a0f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $(Status)/config: $(Status)/patch
touch $(Status)/config

$(Status)/patch: $(Status)/clone
cd $(SrcDir)/sshfs && for f in $(PrjDir)/patches/*.patch; do patch -p1 <$$f; done
cd $(SrcDir)/sshfs && for f in $(PrjDir)/patches/*.patch; do patch --binary -p1 <$$f; done
touch $(Status)/patch

$(Status)/clone:
Expand Down

0 comments on commit 10a0f75

Please sign in to comment.