* Peter O'Gorman wrote on Wed, Sep 13, 2006 at 04:41:56PM CEST:
>
> As far as I'm aware there is not going to be a fix for this in gcc,
> so yes, we need to fix it.
> Perhaps something like:
>
> echo "int main(){return 0;}" > conftest.c
> search_path=`$CC $CFLAGS -c conftest.c 2>&1 | awk 'BEGIN {RS=" "} /^
> [\"]?-L/ {sub ("-L","");print $0};'`
> rm -f conftest.c conftest.o
Only as a last resort, if you ask me. Other compilers love to
disguise as gcc, and Autoconf's AC_FC_LIBRARY_LDFLAGS is witness of
how helplessly maintenance-intensive an approach like the above is.
Cheers,
Ralf
_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool