SHA256
1
0
forked from pool/4ti2
4ti2/4ti2-libtool.diff

27 lines
713 B
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2012-12-06 16:01:44.178343276 +0100
build: resolve failure to run libtool
configure would not detect GLPK's presence if the libtool
call failed, and it does when --tag is not specified.
Happens in libtool < 2.4.
---
m4/glpk-check.m4 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: 4ti2-1.3.2/m4/glpk-check.m4
===================================================================
--- 4ti2-1.3.2.orig/m4/glpk-check.m4
+++ 4ti2-1.3.2/m4/glpk-check.m4
@@ -27,7 +27,7 @@ BACKUP_CXXFLAGS=${CXXFLAGS}
BACKUP_LIBS=${LIBS}
BACKUP_CXX=${CXX}
-CXX="./libtool --mode=link ${CXX}"
+CXX="./libtool --tag=CXX --mode=link ${CXX}"
AC_MSG_CHECKING(for GLPK)