[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] gnu: Add opusfile.
From: |
Mark H Weaver |
Subject: |
Re: [PATCH 1/3] gnu: Add opusfile. |
Date: |
Wed, 21 Oct 2015 20:05:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Paul van der Walt <address@hidden> writes:
> On 2015-10-21 at 21:23, quoth Ludovic Courtès:
>>> + (inputs
>>> + `(("pkg-config" ,pkg-config)
>>
>> This one should be in ‘native-inputs’ (normally ‘guix lint’ warns about
>> it.)
>>
>> OK to push with this change.
>
> Right, fixed and pushed. Is it surprising that it worked as i had it,
> though?
No. The difference between 'inputs' and 'native-inputs' is noticeable
when cross-compiling. 'inputs' are built to run on the target machine,
and 'native-inputs' are built to run on the build machine.
For example, suppose you use an x86_64 machine to cross-compile this
package to run on armhf. If you put 'pkg-config' in 'inputs', then it
would have been built to run on 'armhf', so when 'configure' tries to
run 'pkg-config' on the x86_64 build machine, it won't work.
Mark