aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-01-12 16:19:58 +0000
committerGitHub <noreply@github.com>2021-01-12 16:19:58 +0000
commit5ff1a3ab25504563f87ac064ce21826cb0b936aa (patch)
tree0043efe041af7080ef79f19fec21b21929d0cd43 /mesonbuild/backend/backends.py
parentc659be692896f9f36fa46c4955220dc57653f09b (diff)
parentff40ca25b776392625275bd7891701e02675e2b7 (diff)
downloadmeson-5ff1a3ab25504563f87ac064ce21826cb0b936aa.zip
meson-5ff1a3ab25504563f87ac064ce21826cb0b936aa.tar.gz
meson-5ff1a3ab25504563f87ac064ce21826cb0b936aa.tar.bz2
Merge pull request #8159 from dcbaker/submit/all-env-variables-up-front
Read and store all environment variables up front
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 9bb870c..6dad189 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -29,7 +29,7 @@ from .. import build
from .. import dependencies
from .. import mesonlib
from .. import mlog
-from ..compilers import languages_using_ldflags
+from ..compilers import LANGUAGES_USING_LDFLAGS
from ..mesonlib import (
File, MachineChoice, MesonException, OptionType, OrderedSet, OptionOverrideProxy,
classify_unity_sources, unholder, OptionKey
@@ -480,7 +480,7 @@ class Backend:
def get_external_rpath_dirs(self, target):
dirs = set()
args = []
- for lang in languages_using_ldflags:
+ for lang in LANGUAGES_USING_LDFLAGS:
try:
args.extend(self.environment.coredata.get_external_link_args(target.for_machine, lang))
except Exception: