aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost/build.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-29 14:24:17 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-29 14:24:17 +0000
commit5807ec7bc875d678f2e9502259d62d83b858a854 (patch)
tree0e6e1f92777230d94c627ef9208de24d84b4558a /project/boost/build.py
parentclang-format.py: fix timestamps in logs (diff)
downloadcmake-common-5807ec7bc875d678f2e9502259d62d83b858a854.tar.gz
cmake-common-5807ec7bc875d678f2e9502259d62d83b858a854.zip
project: add os.py
Diffstat (limited to 'project/boost/build.py')
-rw-r--r--project/boost/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/project/boost/build.py b/project/boost/build.py
index 82180a5..a33a538 100644
--- a/project/boost/build.py
+++ b/project/boost/build.py
@@ -25,6 +25,7 @@ from project.boost.directory import BoostDir
from project.configuration import Configuration
from project.linkage import Linkage
from project.platform import Platform
+from project.os import on_linux_like
import project.utils
@@ -81,7 +82,7 @@ class BuildParameters:
if link is Linkage.SHARED:
logging.warning("Cannot link the runtime statically to a dynamic library, going to link dynamically")
runtime_link = Linkage.SHARED
- elif project.utils.on_linux():
+ elif on_linux_like():
logging.warning("Cannot link to the GNU C Library (which is assumed) statically, going to link dynamically")
runtime_link = Linkage.SHARED
yield link, runtime_link