cli: add module definitions before filter check
parent
d76aa357e4
commit
f635f63220
|
@ -557,12 +557,11 @@ apply_cflags(pkgconf_client_t *client, pkgconf_pkg_t *world, void *unused, int m
|
|||
return false;
|
||||
|
||||
pkgconf_fragment_filter(client, &filtered_list, &unfiltered_list, filter_cflags, NULL);
|
||||
maybe_add_module_definitions(client, world, &filtered_list);
|
||||
|
||||
if (filtered_list.head == NULL)
|
||||
goto out;
|
||||
|
||||
maybe_add_module_definitions(client, world, &filtered_list);
|
||||
|
||||
render_buf = pkgconf_fragment_render(&filtered_list, true, want_render_ops);
|
||||
printf("%s", render_buf);
|
||||
free(render_buf);
|
||||
|
|
Loading…
Reference in New Issue