+2008-08-02 Peter Rosin <peda@lysator.liu.se>
+
+ MSVC needs a hint to force it to compile either as C or C++.
+ * libltdl/m4/libtool.m4: Add tag variable compile_tag to
+ enable tag specific compiler options that are bad in the
+ linking phase.
+ * libltdl/config/ltmain.m4sh: Add the tag specific options
+ to the compile command line.
+
2008-08-02 Peter Rosin <peda@lysator.liu.se>
The MSVC linker doesn't have a -L option, and doesn't understand
pic_mode=default
fi
+ if test -n "$compile_tag"; then
+ base_compile="$base_compile $compile_tag"
+ fi
+
# Calculate the filename of the output object if compiler does
# not support -o with -c
if test "$compiler_c_o" = no; then
[When linking, move all paths specified with -L options to this variable])
_LT_TAGDECL([], [dashL_envvar_spec], [1],
[When moving paths with dashL_envvar, prepend this to each path])
+_LT_TAGDECL([], [compile_tag], [1],
+ [Add tag specific option for the compiler])
dnl FIXME: Not yet implemented
dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
dnl [Compiler flag to generate thread safe objects])