aboutsummaryrefslogtreecommitdiff
path: root/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-04-16 21:00:25 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-04-16 21:00:25 +0300
commit6579af34f3e0b4b93c2269f24613aefc48e419b7 (patch)
treee42234b49230ee80440ba927a25e88ee03daae7b /ninjabackend.py
parentb626d017a2ceac9066bca0368be492ec7e4590d9 (diff)
downloadmeson-6579af34f3e0b4b93c2269f24613aefc48e419b7.zip
meson-6579af34f3e0b4b93c2269f24613aefc48e419b7.tar.gz
meson-6579af34f3e0b4b93c2269f24613aefc48e419b7.tar.bz2
Added build type specific link flags.
Diffstat (limited to 'ninjabackend.py')
-rw-r--r--ninjabackend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ninjabackend.py b/ninjabackend.py
index 2a850be..02c849f 100644
--- a/ninjabackend.py
+++ b/ninjabackend.py
@@ -729,6 +729,7 @@ class NinjaBackend(backends.Backend):
abspath = os.path.join(self.environment.get_build_dir(), target.subdir)
commands = []
commands += linker.get_linker_always_flags()
+ commands += linker.get_buildtype_linker_flags(self.environment.coredata.buildtype)
if isinstance(target, build.Executable):
commands += linker.get_std_exe_link_flags()
elif isinstance(target, build.SharedLibrary):