Merge pull request #262 from germandiagogomez/boost-macosx-lib-detection

BoostDependency dylib detection added.
pull/255/head^2
Jussi Pakkanen 9 years ago
commit 32f72fee25
  1. 1
      authors.txt
  2. 8
      dependencies.py

@ -20,3 +20,4 @@ Mathieu Duponchelle
Jouni Roivas
Rafaël Kooi
Marko Raatikainen
German Diago Gomez

@ -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:

Loading…
Cancel
Save