1
1

libtool 2.0 get confused if the source file is followed by -c (or any other

value that is not internally translated). In order to make all the version
of libtool happy, the simplest way is to have the source file at the end of
the command line.

This commit was SVN r8451.
Этот коммит содержится в:
George Bosilca 2005-12-12 06:41:48 +00:00
родитель 73f4f407c1
Коммит 29c75a4690

Просмотреть файл

@ -64,7 +64,7 @@ ompi_check_linker_flags_work() {
# First make a sample library with the current LDFLAGS and LIBS
#
cmd="$libtool --mode=compile --tag=CC $CC $CFLAGS foo.c -c -o foo.o"
cmd="$libtool --mode=compile --tag=CC $CC $CFLAGS -c -o foo.o foo.c"
ompi_check_linker_flags_work
cmd="$libtool --mode=link --tag=CC $CC $CFLAGS foo.lo $LDFLAGS $LIBS -o libfoo.la"
ompi_check_linker_flags_work