Samba v4.2.0 vs. v4.3.5 and -ltinfo

David Hauck davidh at netacquire.com
Wed Mar 9 15:10:47 UTC 2016


Hi Uri,
 
On Mon, 7 Mar 2016 at 11:53:00, samba-technical wrote:
> Hi Uri,
> 
> On Monday, March 07, 2016 11:52 AM, Uri Simchoni wrote:
>> On 03/07/2016 08:59 PM, David Hauck wrote:
>>> 
>>> NCURSES_CONFIG='<cross-dir>/bin/ncurses6-config' waf configure
>> Yeah that's what you need to do. You can look at the source code for
>> find_program and see that if it's set in the env then that's what
>> it'll take (for find_program, not necessarily in a general way).
>> 
>> But your ncurses6-config must also not be broken, a challenge in itself.
>> Run /cross/ncurses6-config --clfags --libs and see if it gets you
>> anything reasonable.
> 
> Yes, it does, it gets me exactly what I want/need: i.e., -lncurses
> (only) and not -lncurses -ltinfo (which the host variant returns).

You previous answer probably implied this, but I just wanted to make sure: would calling 'waf configure' like I proposed above work?

And also, given the several other places where 'pkg-config'-like scripts are called I'm wondering whether a similar approach is recommended? Alternatively, is there some way to get "find_program" to use the current PATH (which in my case should have identified the cross variants of these scripts)? If this latter consideration worked then it would suffice to require that the cross variants of all 'pkg-config'-like scripts simply be in the PATH (ahead of the host variants).

Thanks again,
-David 
 
> Thanks,
> -David
>



More information about the samba-technical mailing list