A couple more tidbits on the way of integrating the MSVC support patch.
First, we need to transform `.obj' in the same way as we do `.o'.
Second, for compilers with compiler_c_o=no, we don't detect the object
name in this command line correctly:
$libtool --mode=compile --tag=CC $CC $CFLAGS -c -o foo.$OBJEXT foo.c
The first issue is fixed with the patch below, applied to CVS HEAD and
branch-1-5.
Cheers,
Ralf
* libltdl/config/ltmain.m4sh (func_mode_compile): Also transform
`.obj' correctly.
Reported by George Bosilca <[EMAIL PROTECTED]>.
Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.28
diff -u -r1.28 ltmain.m4sh
--- libltdl/config/ltmain.m4sh 11 Jan 2006 17:24:56 -0000 1.28
+++ libltdl/config/ltmain.m4sh 21 Jan 2006 08:45:41 -0000
@@ -1232,6 +1244,7 @@
*.f90) xform=f90 ;;
*.for) xform=for ;;
*.java) xform=java ;;
+ *.obj) xform=obj ;;
esac
libobj=`$ECHO "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`