diff options
author | Germán Diago Gómez <germandiago@gmail.com> | 2015-09-08 00:34:54 +0700 |
---|---|---|
committer | Germán Diago Gómez <germandiago@gmail.com> | 2015-09-08 00:34:54 +0700 |
commit | 89020de121d761a18d7ca0cc8d8fd082a0865bfd (patch) | |
tree | 3e417dbf5ab77d92daa818d854cdc041d24e6677 /dependencies.py | |
parent | b3b5f507ee5da271fb92c4b6f13fc5267d432139 (diff) | |
download | meson-89020de121d761a18d7ca0cc8d8fd082a0865bfd.zip meson-89020de121d761a18d7ca0cc8d8fd082a0865bfd.tar.gz meson-89020de121d761a18d7ca0cc8d8fd082a0865bfd.tar.bz2 |
Replaced check for mac osx by mesonlib.is_osx()
Diffstat (limited to 'dependencies.py')
-rw-r--r-- | dependencies.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dependencies.py b/dependencies.py index ca94083..fc0f219 100644 --- a/dependencies.py +++ b/dependencies.py @@ -510,11 +510,10 @@ class BoostDependency(Dependency): self.lib_modules_mt[modname] = fname def detect_lib_modules_nix(self): - import platform libsuffix = None - if platform.system() == 'Darwin': + if mesonlib.is_osx(): libsuffix = 'dylib' - elif platform.system() == 'Linux': + else: libsuffix = 'so' globber = 'libboost_*.{}'.format(libsuffix) |