diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2023-02-06 23:29:27 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-06-26 13:10:33 -0400 |
| commit | a1ef957e349583f9affdce5b5a4f094860e91037 (patch) | |
| tree | 01e0fd479c9b5c47b63b779bfb698e6c0785df4e /mesonbuild/compilers/objcpp.py | |
| parent | 6fad02db04534519e96f1ba66a178c6c9735554f (diff) | |
| download | meson-a1ef957e349583f9affdce5b5a4f094860e91037.tar.gz | |
linkers: delay implementations import until detect is run
This saves on a 1500-line import at startup and may be skipped entirely
if no compiled languages are used. In exchange, we move the
implementation to a new file that is imported instead.
Followup to commit ab20eb5bbc21ae855bcd211131132d2778602bcf.
Diffstat (limited to 'mesonbuild/compilers/objcpp.py')
| -rw-r--r-- | mesonbuild/compilers/objcpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/objcpp.py b/mesonbuild/compilers/objcpp.py index 1f9f75635..530bc7cb6 100644 --- a/mesonbuild/compilers/objcpp.py +++ b/mesonbuild/compilers/objcpp.py @@ -27,7 +27,7 @@ if T.TYPE_CHECKING: from ..programs import ExternalProgram from ..envconfig import MachineInfo from ..environment import Environment - from ..linkers import DynamicLinker + from ..linkers.linkers import DynamicLinker from ..mesonlib import MachineChoice class ObjCPPCompiler(CLikeCompiler, Compiler): |
