Bug 3702 - "pkg-config --cflags" ignores -I${includedir} Cflags
Summary: "pkg-config --cflags" ignores -I${includedir} Cflags
Status: RESOLVED WORKSFORME
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Tollef Fog Heen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-04 16:20 UTC by Gustavo J. A. M. Carneiro
Modified: 2007-06-18 14:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Gustavo J. A. M. Carneiro 2005-07-04 16:20:54 UTC
I'm building gnome HEAD using jhbuild.
Xrender is failing because pkg-config is not reading well the Cflags in render.pc:

Cflags: -I${includedir}

It simply returns an empty string.  I added a / to that:

Cflags: -I${includedir}/

And now it correctly returns -I/opt/gnome-devel/include/
Comment 1 Gustavo J. A. M. Carneiro 2005-07-04 16:21:24 UTC
PS: this is with latest pkg-config, 0.18.1
Comment 2 Tom Parker 2006-11-01 02:49:12 UTC
(In reply to comment #1)
> PS: this is with latest pkg-config, 0.18.1

I can't currently reproduce this with 0.21. I think it's fixed?
Comment 3 Tollef Fog Heen 2007-06-18 14:05:55 UTC
Unreproducible, so closing.


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.