diff options
author | Goncalo Carvalho <glslang@gmail.com> | 2017-05-19 17:36:54 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-05-20 18:57:27 +0300 |
commit | 6eb75a04a1fc1bdc47927d40029e317a65e07571 (patch) | |
tree | 80f0e887b7ea176bde889446b2e1c71c5fb7b4a4 | |
parent | e985d930afc98cd912c49f25661824db7289ca46 (diff) | |
download | meson-6eb75a04a1fc1bdc47927d40029e317a65e07571.zip meson-6eb75a04a1fc1bdc47927d40029e317a65e07571.tar.gz meson-6eb75a04a1fc1bdc47927d40029e317a65e07571.tar.bz2 |
fix lookup of boost modules when cross-compiling on osx
-rw-r--r-- | mesonbuild/dependencies/misc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index e997807..3e0b558 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -202,7 +202,7 @@ class BoostDependency(Dependency): self.lib_modules_mt[modname] = fname def detect_lib_modules_nix(self): - if mesonlib.is_osx(): + if mesonlib.is_osx() and not self.want_cross: libsuffix = 'dylib' else: libsuffix = 'so' |