aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Redelings <benjamin.redelings@gmail.com>2018-01-29 22:37:07 -0500
committerBenjamin Redelings <benjamin.redelings@gmail.com>2018-01-29 22:37:07 -0500
commit1af531c2d53972f18b988f88f37323a55b80c1ae (patch)
treea29e9c702743942d74a3035ef14b8bf934a46745
parentf68bae49da4c25d327e98b47ee921a55f0680f6b (diff)
downloadmeson-1af531c2d53972f18b988f88f37323a55b80c1ae.zip
meson-1af531c2d53972f18b988f88f37323a55b80c1ae.tar.gz
meson-1af531c2d53972f18b988f88f37323a55b80c1ae.tar.bz2
Restore comments.
-rw-r--r--mesonbuild/dependencies/misc.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py
index 85d5431..011bd65 100644
--- a/mesonbuild/dependencies/misc.py
+++ b/mesonbuild/dependencies/misc.py
@@ -364,6 +364,10 @@ class BoostDependency(ExternalDependency):
fname = os.path.basename(entry)
self.lib_modules[self.modname_from_filename(fname)] = [fname]
+ # - Linux leaves off -mt but libraries are multithreading-aware.
+ # - Cygwin leaves off -mt but libraries are multithreading-aware.
+ # - Mac requires -mt for multithreading, so should not fall back
+ # to non-mt libraries.
def abi_tag(self):
if mesonlib.for_windows(self.want_cross, self.env):
return None