From 34d7911aa33fe64f88ba785e4ac799d9a74c4081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Fri, 17 Aug 2012 13:42:10 +0300 Subject: [PATCH] configure: run LT_INIT only after 32/64bit decision is made MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes building 32bit mesa on 64bit OS Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50754 Signed-off-by: Tapani Pälli --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 0329bad..a3ff553 100644 --- a/configure.ac +++ b/configure.ac @@ -23,9 +23,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) -LT_PREREQ([2.2]) -LT_INIT([disable-static]) - dnl Versions for external dependencies LIBDRM_REQUIRED=2.4.24 LIBDRM_RADEON_REQUIRED=2.4.38 @@ -275,6 +272,9 @@ if test "x$enable_64bit" = xyes; then fi fi +LT_PREREQ([2.2]) +LT_INIT([disable-static]) + dnl Can't have static and shared libraries, default to static if user dnl explicitly requested. If both disabled, set to static since shared dnl was explicitly requested. -- 1.7.11.4