Messages in this thread | | | Date | Wed, 18 Jan 2006 22:20:22 +0100 | From | Sam Ravnborg <> | Subject | Re: Linux 2.6.16-rc1 |
| |
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |