ninja: Remove duplicated if check (#637)

Trivially correct
pull/627/head
Nirbheek Chauhan 8 years ago committed by Jussi Pakkanen
parent c01b183e54
commit 5351b091a8
  1. 1
      mesonbuild/backend/ninjabackend.py

@ -1704,7 +1704,6 @@ rule FORTRAN_DEP_HACK
if not isinstance(target, build.StaticLibrary): if not isinstance(target, build.StaticLibrary):
commands += target.link_args commands += target.link_args
# External deps must be last because target link libraries may depend on them. # External deps must be last because target link libraries may depend on them.
if not(isinstance(target, build.StaticLibrary)):
for dep in target.get_external_deps(): for dep in target.get_external_deps():
commands += dep.get_link_args() commands += dep.get_link_args()
for d in target.get_dependencies(): for d in target.get_dependencies():

Loading…
Cancel
Save