[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unprefixed calls to ld and pkg-config
From: |
Thomas Dickey |
Subject: |
Re: Unprefixed calls to ld and pkg-config |
Date: |
Wed, 24 Aug 2022 19:26:36 -0400 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Wed, Aug 24, 2022 at 03:31:59PM -0500, Allen Webb wrote:
> My apologies if this is already fixed on top-of-tree, but in ncurses 6.3
> there are some direct calls to ld and pkg-config which could break cross
> compilation.
>
> In ChromeOS we are downstream from Gentoo where I reported the issue here (
> https://bugs.gentoo.org/866398).
>
> Since ncurses uses autoconf this isn't exactly a complete patch because
> configure is generated, but we replaced the unprefixed calls in the Gentoo
> ebuild process with:
>
> sed -i -e 's/ld --verbose/${LD} --verbose/g' configure
> sed -i -e 's/pkg-config --version/${PKG_CONFIG} --version/g' misc/
thanks (I see where to improve this)
> gen-pkgconfig.in
>
> Thanks,
> Allen
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature