pkg-config does not separate:
- CPPFLAGS and CFLAGS (both in --cflags)
- LDFLAGS and LIBADD/LDADD (both in --libs)
That is a bit troublesome when used with automake (it can override what people specify when running ./configure ... CPPFLAGS=-D..."). People are forced to put the output of --cflags into CFLAGS even though its mostly -I and -D stuff. For --libs its probably less critical as it should mostly contain -L and -l and not any other linker directives.
Any idea how to solve this?
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pkg-config/pkg-config/issues/33.