From 5351b091a8100ddfeedae179776665989e03b343 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 15 Jul 2016 20:22:14 +0530 Subject: [PATCH] ninja: Remove duplicated if check (#637) Trivially correct --- mesonbuild/backend/ninjabackend.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index b84a14491..c2ccc6c89 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():