diff --git a/authors.txt b/authors.txt index 0db0c3d10..88e8ba333 100644 --- a/authors.txt +++ b/authors.txt @@ -20,3 +20,4 @@ Mathieu Duponchelle Jouni Roivas Rafaƫl Kooi Marko Raatikainen +German Diago Gomez diff --git a/dependencies.py b/dependencies.py index b3ca400ca..fc0f2192d 100644 --- a/dependencies.py +++ b/dependencies.py @@ -510,7 +510,13 @@ class BoostDependency(Dependency): self.lib_modules_mt[modname] = fname def detect_lib_modules_nix(self): - globber = 'libboost_*.so' # FIXME, make platform independent. + libsuffix = None + if mesonlib.is_osx(): + libsuffix = 'dylib' + else: + libsuffix = 'so' + + globber = 'libboost_*.{}'.format(libsuffix) if self.boost_root is None: libdirs = mesonlib.get_library_dirs() else: