Skip to content

Commit

Permalink
Merge pull request #1032 from n-bes/master
Browse files Browse the repository at this point in the history
[botan] fix build without patches
  • Loading branch information
danimtb authored Mar 9, 2020
2 parents ccd4ba4 + 5c20284 commit 0cb89a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes/botan/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ def source(self):

def build(self):
if "patches" in self.conan_data:
for patch in self.conan_data["patches"][self.version]:
tools.patch(**patch)
if self.version in self.conan_data["patches"]:
for patch in self.conan_data["patches"][self.version]:
tools.patch(**patch)
with tools.chdir('sources'):
self.run(self._configure_cmd)
self.run(self._make_cmd)
Expand Down

0 comments on commit 0cb89a3

Please sign in to comment.