[Cffi-devel] pkg-flags (was: Re: Cannot load cffi-libffi)
Luís Oliveira
luismbo at gmail.com
Fri Nov 28 22:43:25 UTC 2014
On Mon, Nov 24, 2014 at 10:32 AM, Stelian Ionescu <sionescu at 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,
--
Luís Oliveira
http://kerno.org/~luis/
More information about the cffi-devel
mailing list