aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2016-07-15 20:22:14 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2016-07-15 17:52:14 +0300
commit5351b091a8100ddfeedae179776665989e03b343 (patch)
treec09ef25877366b6c8d02487845a51ea1b1e3f13c
parentc01b183e5478eab213f53224a5c2589db3e6c710 (diff)
downloadmeson-5351b091a8100ddfeedae179776665989e03b343.zip
meson-5351b091a8100ddfeedae179776665989e03b343.tar.gz
meson-5351b091a8100ddfeedae179776665989e03b343.tar.bz2
ninja: Remove duplicated if check (#637)
Trivially correct
-rw-r--r--mesonbuild/backend/ninjabackend.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index b84a144..c2ccc6c 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -1703,8 +1703,7 @@ rule FORTRAN_DEP_HACK
commands += linker.thread_link_flags()
if not isinstance(target, build.StaticLibrary):
commands += target.link_args
- # External deps must be last because target link libraries may depend on them.
- if not(isinstance(target, build.StaticLibrary)):
+ # External deps must be last because target link libraries may depend on them.
for dep in target.get_external_deps():
commands += dep.get_link_args()
for d in target.get_dependencies():