aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
diff options
context:
space:
mode:
authorAleksey Gurtovoy <agurtovoy@acm.org>2019-09-03 16:43:48 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2019-09-27 00:57:21 +0300
commit7dbabdc7b696aca4aadc3dfab5045a08662fdfde (patch)
tree6ece70f048f7f3f97a942283af892c2cc67b7420 /mesonbuild/backend
parent534e94ffc35dae3a0b2cc9f1e60e7e452872c512 (diff)
downloadmeson-7dbabdc7b696aca4aadc3dfab5045a08662fdfde.zip
meson-7dbabdc7b696aca4aadc3dfab5045a08662fdfde.tar.gz
meson-7dbabdc7b696aca4aadc3dfab5045a08662fdfde.tar.bz2
Correctly handle platform-specific LDFLAGS options
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 417f6d9..8315ab1 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -2385,7 +2385,7 @@ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47485'''))
build_dir = self.environment.get_build_dir()
# the following loop sometimes consumes two items from command in one pass
- it = iter(commands)
+ it = iter(linker.native_args_to_unix(commands))
for item in it:
if item in internal and not item.startswith('-'):
continue