Handling of Requires.private #60
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Sebastian Ramacher (@sebastinas) writes:
For more details, see Debian bug #734491.
The second point was a error on my part. The first one still applies. I think the handling of the case of field name should be the same in both tools.
I am not convinced that 100% compatibility with pkgconfig is a requirement. If anything, the latter behaviour is a bug in pkg-config, as quite a few other fields there are in fact case-insensitive.
Which keyword names does pkg-config compare case-insensitive? The only keyword that gets special treatment by pkg-config is Cflags where CFlags is also allowed. Also, in pkg-config variable names are case-sensitive, in pkgconfig they are not. This gives surprising results with the following file:
Let's run some commands:
And by rearranging the definitions of foo and Foo you get totally different behavior from pkgconf. That's not what I'd expect.
I have made variables case-sensitive, and some fields on the .pc file case-sensitive.
CFLAGS
andLIBS
(and their.private
counterparts) remain as they are.I feel this is the best approach.