Bug 19306

Summary: separation of CPPFLAGS/CFLAGS, LDFLAGS/LIBS
Product: pkg-config Reporter: Stefan Kost <ensonic>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium CC: chpe, dmacks, ohnobinki
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:

Description Stefan Kost 2008-12-28 13:09:07 UTC
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?
Comment 1 GitLab Migration User 2018-08-25 12:55:34 UTC
-- 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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.