aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/linkers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-12-11 14:09:56 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-01-11 11:15:06 -0800
commita2055ad18bba5704c9cbbe211ed4e46549be05f8 (patch)
tree6ac78596432668f4f71f9e5cf4dfdab035253f7b /mesonbuild/linkers.py
parent9f343212e071cfee99e0be76de0f61bec9a6d5f2 (diff)
downloadmeson-a2055ad18bba5704c9cbbe211ed4e46549be05f8.zip
meson-a2055ad18bba5704c9cbbe211ed4e46549be05f8.tar.gz
meson-a2055ad18bba5704c9cbbe211ed4e46549be05f8.tar.bz2
import MachineChoice from mesonlib
there are a couple of places importing it from envconfig, which is not correct. It's defined in mesonlib, and then imported into envconfig.
Diffstat (limited to 'mesonbuild/linkers.py')
-rw-r--r--mesonbuild/linkers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/linkers.py b/mesonbuild/linkers.py
index 141c8fd..8dae94c 100644
--- a/mesonbuild/linkers.py
+++ b/mesonbuild/linkers.py
@@ -22,8 +22,8 @@ from .envconfig import get_env_var
if T.TYPE_CHECKING:
from .coredata import KeyedOptionDictType
- from .envconfig import MachineChoice
from .environment import Environment
+ from .mesonlib import MachineChoice
class StaticLinker: