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: Enrico Weigelt
Subject: Re: [crossdev] [PATCH] teach ncurses-config about sysroot
Date: Fri, 27 Aug 2010 01:03:00 +0200
User-agent: Mutt/1.4.1i

* Roumen Petrov <address@hidden> wrote:

> This is new to 0.23 . 

0.23 is several years old.

> 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.

Which isn't enough (in ancient pre-sysroot pkg-config) - you still
need to prepend $SYSROOT to -L and -I flags. A tiny wrapper w/
an sed line does the trick.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: address@hidden
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------



reply via email to

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