On 2011-08-19 15:35 +0200, Riku Voipio wrote:
> On Thu, Aug 18, 2011 at 05:15:43PM +0200, Sven Joachim wrote:
>> On 2011-08-18 10:37 +0200, Riku Voipio wrote:
>> > 2) libncursesw5-devi and libncurses5-dev can be multiarch: same, and
>> > ncurses-bin
>> > multiarch: foreign
>>
>> The reason why I had not do this yet is that the output of
>> "ncurses5-config --libdir" and "ncurses5-config --libs" is not correct
>> for foreign architectures. But since the libraries are installed in the
>> default linker search path anyway, that might be irrelevant.
>
> Sigh. I think I need to propose something generic to solve the all too common
> foo-config and multiarch crosscompile.
I have chosen to patch ncurses-config.in and omit the "-L" part from
"ncurses5-config --libs". I suspect this would work in similar cases as
well, that is for libraries which are installed directly under
/usr/lib/$(DEB_HOST_MULTIARCH) and not in a subdirectory.
Cheers,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]