Skip to content

Commit

Permalink
Merge pull request #857 from madebr/libsodium
Browse files Browse the repository at this point in the history
libsodium: update to msys2/20190524
  • Loading branch information
danimtb authored Feb 13, 2020
2 parents 2344eaa + 5cea93e commit bf66f3c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions recipes/libsodium/1.0.18/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ def config_options(self):

def build_requirements(self):
# There are several unix tools used (bash scripts for Emscripten, autoreconf on MinGW, etc...)
if tools.os_info.is_windows:
self.build_requires("msys2/20161025")
if self.settings.compiler != "Visual Studio" and tools.os_info.is_windows and \
not "CONAN_BASH_PATH" in os.environ and tools.os_info.detect_windows_subsystem() != "Windows":
self.build_requires("msys2/20190524")

def source(self):
tools.get(**self.conan_data["sources"][self.version])
Expand Down Expand Up @@ -115,7 +116,7 @@ def _build_autotools_darwin(self, configure_args):
host_arch = "%s-apple-%s" % (self.settings.arch, os)
configure_args.append("--host=%s" % host_arch)
self._build_autotools_impl(configure_args)

def _build_autotools_neutrino(self, configure_args):
neutrino_archs = {"x86_64":"x86_64-pc", "x86":"i586-pc", "armv7":"arm-unknown", "armv8": "aarch64-unknown"}
if self.settings.os.version == "7.0" and str(self.settings.arch) in neutrino_archs:
Expand Down

0 comments on commit bf66f3c

Please sign in to comment.