diff options
Diffstat (limited to 'project/boost')
-rw-r--r-- | project/boost/build.py | 3 | ||||
-rw-r--r-- | project/boost/directory.py | 3 |
2 files changed, 4 insertions, 2 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 diff --git a/project/boost/directory.py b/project/boost/directory.py index e50041f..17448b6 100644 --- a/project/boost/directory.py +++ b/project/boost/directory.py @@ -6,7 +6,8 @@ import logging import os.path -from project.utils import cd, run, on_windows +from project.utils import cd, run +from project.os import on_windows class BoostDir: |