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.
Этот коммит содержится в:
родитель
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
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user