bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [crossdev] [PATCH] teach ncurses-config about sysroot


From: Roumen Petrov
Subject: Re: [crossdev] [PATCH] teach ncurses-config about sysroot
Date: Fri, 27 Aug 2010 01:56:42 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100721 SeaMonkey/2.0.6

Mike Frysinger wrote:
On Thursday, August 26, 2010 16:24:01 Enrico Weigelt wrote:
* Mike Frysinger<address@hidden>  wrote:
so this line of reasoning could be used to support a generalized
cross tool that wraps all of the *-config scripts on the fly.

BTW: pkg-config supports $SYSROOT for quite a long time now.

no, it doesnt.  it supports $PKG_CONFIG_SYSROOT_DIR.  even if the basic
support has been in there "for quite a long time", it's been broken for most
of it, so it hasnt been safe to use generally yet.
-mike

This is new to 0.23 . For the old I use something like:
PKG_CONFIG_LIBDIR="$SYSROOT/lib/pkgconfig"
PKG_CONFIG_PATH=
export PKG_CONFIG_LIBDIR PKG_CONFIG_PATH

to prevent pkg-config to find resources from build system when cross-compiling.

Roumen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]