Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
Force static link on MingW
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries committed Mar 17, 2018
1 parent 58f9a50 commit 89beb8e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ class TestPackageConan(ConanFile):

def build(self):
cmake = CMake(self)
if self.settings.os == "Windows" and \
self.settings.compiler == "Visual Studio" and \
not self.options['pcre'].shared:
if self.settings.os == "Windows" and not self.options['pcre'].shared:
cmake.definitions['PCRE_STATIC'] = True
cmake.configure()
cmake.build()
Expand Down

0 comments on commit 89beb8e

Please sign in to comment.