Bug 157

Summary: patch for PKG_CONFIG_CROSS variable
Product: pkg-config Reporter: Phil Blundell <pb>
Component: srcAssignee: Havoc Pennington <hp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

Description Phil Blundell 2003-12-03 03:31:05 UTC
When pkg-config is being used in a cross-compiling environment, it's useful to be able to have it automatically prepend the path to the cross tree (usually something like "/usr/arm-linux") onto the filenames it generates.  This patch adds a new environment variable which can be used for that.
Comment 1 Phil Blundell 2003-12-03 03:32:58 UTC
Created attachment 79 [details] [review]
patch
Comment 2 Tollef Fog Heen 2005-04-02 01:17:44 UTC
If you build current pkg-config with --prefix=/usr/arm-linux, it will look in
/usr/arm-linux/lib/pkgconfig and /usr/arm-linux/share/pkgconfig for the .pc
files.    (If you want another path, you can use --with-pc-path=$foo:$bar:$baz
to specify.

I am going to provide more cross-compilation support, but this should satisfy
you for now.

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.