|
|
@ -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(): |
|
|
|