Bug 19306 - separation of CPPFLAGS/CFLAGS, LDFLAGS/LIBS
Summary: separation of CPPFLAGS/CFLAGS, LDFLAGS/LIBS
Status: RESOLVED MOVED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Tollef Fog Heen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-28 13:09 UTC by Stefan Kost
Modified: 2018-08-25 12:55 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

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.