Bug 3702

Summary: "pkg-config --cflags" ignores -I${includedir} Cflags
Product: pkg-config Reporter: Gustavo J. A. M. Carneiro <gjc>
Component: srcAssignee: Tollef Fog Heen <tfheen>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.