소스 검색

Init libtool after all checks to have the good compilers

Corentin Salingue 8 년 전
부모
커밋
d9c44b7d71
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      configure.ac

+ 4 - 3
configure.ac

@@ -94,9 +94,6 @@ if test x$enable_perf_debug = xyes; then
     enable_shared=no
 fi
 
-LT_PREREQ([2.2])
-LT_INIT([win32-dll])
-
 AC_PROG_INSTALL
 AC_PROG_MKDIR_P
 AC_PROG_LN_S
@@ -3108,6 +3105,10 @@ AH_BOTTOM([
 SANITIZE=$(echo $CFLAGS | grep sanitize)
 AM_CONDITIONAL(STARPU_SANITIZE, test -n "$SANITIZE")
 
+#init libtool after all checks to have all compilers correctly defined
+LT_PREREQ([2.2])
+LT_INIT([win32-dll])
+
 AC_OUTPUT([
 	Makefile
 	src/Makefile