On Wed, Jan 18, 2006 at 12:54:37PM -0800, Bryan O'Sullivan wrote:
> On Wed, 2006-01-18 at 21:32 +0100, Sam Ravnborg wrote:
>
> > But in the lxdialog case we need to execute the link step, because
> > what we really try to do is to check if gcc can find a specific
> > library in the search path.
>
> Will -print-file-name not do the trick for you?
>
> $ gcc -print-file-name=libcurses.so | grep -q /
> $ echo $?
> 0
> $ gcc -print-file-name=libfoobar.a | grep -q /
> $ echo $?
> 1
Much better - thanks!
I will push out a new path tomorrow.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]