Bug 9584 - --variable doesn't work with --define-variable
Summary: --variable doesn't work with --define-variable
Status: RESOLVED FIXED
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:
: 22296 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-09 10:37 UTC by Yevgen Muntyan
Modified: 2012-05-10 09:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Yevgen Muntyan 2007-01-09 10:37:53 UTC
$ /usr/bin/pkg-config --define-variable=foo=foo --variable target gdk-2.0
$ /usr/bin/pkg-config --variable target gdk-2.0
x11

For instance, "pkg-config --define-variable=prefix=foo --variable target
gdk-2.0" doesn't work, and I have to work it around when using gtk pc files
(they have prefix=C:\blahblah which has to be overridden).
Comment 1 Dan Nicholson 2012-05-10 05:46:58 UTC
*** Bug 22296 has been marked as a duplicate of this bug. ***
Comment 2 Dan Nicholson 2012-05-10 05:48:23 UTC
This is a definite bug in the ancient bundled popt, and there's a test for this particular case. You can build with a newer external popt in the meantime if this bug is critical to you.
Comment 3 Dan Nicholson 2012-05-10 09:35:47 UTC
Should be fixed in e512071. Please reopen if there's still a bug.


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.