[fprint] Crosscompiling libfprint

Vasily Khoruzhick anarsoul at gmail.com
Tue Aug 14 07:40:52 PDT 2012


On Tue, Aug 14, 2012 at 5:37 PM, Bastien Nocera <hadess at hadess.net> wrote:
> On Tue, 2012-08-14 at 17:31 +0300, Vasily Khoruzhick wrote:
>> On Tue, Aug 14, 2012 at 5:26 PM, Bastien Nocera <hadess at hadess.net> wrote:
>> >
>> > I committed the first one, but worked around the udev problem in a
>> > slightly different way.
>> >
>> > Cheers
>>
>> Maybe it worth to disable udev rules generation by default in case of
>> cross compiling?
>
> I really want the rules files to be installed, as they're useful on
> embedded devices as well, and I'd like the developers that do that to be
> aware that things will break when cross-compiling from git, and the
> rules file doesn't already exist.
>
> Better ideas welcome obviously.

Usually CC_FOR_BUILD (or HOST_CC) is used for building such kind of
binaries when cross compiling,
and that's what my 2nd patch did, it compiles fprint-list-udev-rules
with host compiler, so we can run it without any issues.

However it requires some testing for sure.

Regards
Vasily


More information about the fprint mailing list