Bug 63602 - Make Windows --define-prefix behavior available everywhere
Summary: Make Windows --define-prefix behavior available everywhere
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Dan Nicholson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-16 12:46 UTC by Dan Nicholson
Modified: 2013-05-17 12:34 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Dan Nicholson 2013-04-16 12:46:04 UTC
When pkg-config is built for Windows, it will override the .pc file's prefix variable by detecting where the .pc file is actually installed. This is because Windows users are not expected to follow a fixed directory tree like on Unix. Users then are likely to have different paths than the paths built into the .pc file. Overriding the prefix allows the .pc file to be relocatable even when the builder had no intention of it.

This relocatable feature would be useful everywhere, though. It should be made available on all platforms, but continue to default to on only for Windows. The --dont-define-prefix option already exists for Windows, so the expected reverse option would be --define-prefix.
Comment 1 Dan Nicholson 2013-05-17 12:34:42 UTC
Fixed in 43c1e0e.


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.