Skip to content

Commit 3cd7732

Browse files
committed
Update fpm_model.f90
1 parent 05d09dc commit 3cd7732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm_model.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ function get_package_libraries_link(model, package_name, prefix, exclude_self, d
11911191
! Exclusion of package IDs marked "empty" (i.e. they contain no sources)
11921192
has_lib = model%packages%has_library()
11931193

1194-
if (any(has_lib)) then
1194+
if (any(.not.has_lib)) then
11951195
sorted_package_IDs = pack(sorted_package_IDs, has_lib(sorted_package_IDs))
11961196
ndep = size(sorted_package_IDs)
11971197
end if

0 commit comments

Comments
 (0)