Apply cflags from pkg-config to all dependent modules
Closes #18628
This commit splits the arguments obtained from pkg-config into two
groups, cflags and libs, and consistently applies the cflags to each
individual module linking the library while applying the libs only once
for each compilation.
27d2d8e81fIan Johnson committed on 1/29/2024, 10:08:41 PM· committed by Andrew Kelleyparenta479fd3