Summary: | [PENDING] When using private libs, parse.c reverses the order | ||
---|---|---|---|
Product: | pkg-config | Reporter: | J. Scott Berg <jsberg> |
Component: | src | Assignee: | Tollef Fog Heen <tfheen> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Example .pc file demonstrating the problem
Patch that fixes the problem for me |
Description
J. Scott Berg
2006-11-22 21:57:51 UTC
Created attachment 7872 [details]
Example .pc file demonstrating the problem
pkg-config --libs-only-other --static should make it clear why this is a
problem
Created attachment 7873 [details] [review] Patch that fixes the problem for me Defer the reversals to the end of parse_package_file. I did everything, not just the libs, for the sake of symmetry. Well, not everything, only the easy ones. Not thoroughly tested... 2007-02-21 Tollef Fog Heen <tfheen@err.no> * parse.c (parse_package_file and others): Move the reversal of the _libs lists to the end to avoid double-reversing either. Thanks to J. Scott Berg for both the bug and the fix. Freedesktop #9132 This was fixed for 0.23 |
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.