On Mon, Nov 24, 2014 at 10:32 AM, Stelian Ionescu sionescu@cddr.org wrote:
I think the current committed behaviour works nicely for use case #1. Use case #2, which you've raised, suggests that ignoring a missing pkg-config is a bad default. What about adding making it an option?
That's fine, but the strict mode should be the default.
Agreed.
Also, if we're going to cater to use case #2, then perhaps we should support a list of alternatives à la define-foreign-library. What do you think?
I think we should wait until somebody actually asks, because that can also be a source of compilation errors.
Sounds reasonable.
Finally, how about renaming the directive to pkg-config-cflags? (I can sort of imagine we might want a pkg-config-lfags for wrappers at some point in the future.)
That's a good idea. [...]
Pushed a commit implementing what we've discussed. Thanks for your input Stelian.
Cheers,