aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-12-21 16:56:58 +0200
committerGitHub <noreply@github.com>2016-12-21 16:56:58 +0200
commitdbe685ec4ef8efe501227a4b31bf22122a544a0c (patch)
treec891151391e54378a6124bd37dad1f1876700b6b /mesonbuild/backend/backends.py
parent4f836de5bd9bd0263ac0134e5a0af8c61bee6fc8 (diff)
parentc6fb5aec58af87fcb26943bae57b4ba2abd24b74 (diff)
downloadmeson-dbe685ec4ef8efe501227a4b31bf22122a544a0c.zip
meson-dbe685ec4ef8efe501227a4b31bf22122a544a0c.tar.gz
meson-dbe685ec4ef8efe501227a4b31bf22122a544a0c.tar.bz2
Merge pull request #1218 from ximion/master
Do not automatically set warning flags if buildtype is 'plain'
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index dc39ce4..10167e8 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -373,7 +373,7 @@ class Backend():
if not isinstance(d, (build.StaticLibrary, build.SharedLibrary)):
raise RuntimeError('Tried to link with a non-library target "%s".' % d.get_basename())
if isinstance(compiler, compilers.LLVMDCompiler):
- args.extend(['-L', self.get_target_filename_for_linking(d)])
+ args += ['-L' + self.get_target_filename_for_linking(d)]
else:
args.append(self.get_target_filename_for_linking(d))
# If you have executable e that links to shared lib s1 that links to shared library s2