Skip to content
Snippets Groups Projects
Commit 488c80b1 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Workaround for matio under RHEL 6 + EPEL 6

(cherry picked from commit b7730f30)
parent 87cef509
Branches
Tags
No related merge requests found
......@@ -41,7 +41,8 @@ AC_ARG_WITH(matio, AC_HELP_STRING([--with-matio=DIR], [prefix to MATIO installat
LDFLAGS="$LDFLAGS_MATIO $LDFLAGS"
AC_CHECK_HEADER([matio.h], [], [has_matio=no])
AC_CHECK_LIB([matio], [Mat_Open], [LIBADD_MATIO="-lmatio"], [has_matio=no])
dnl libz is explicitly added, as a workaround for the matio from EPEL 6 (used with RHEL 6)
AC_CHECK_LIB([matio], [Mat_Open], [LIBADD_MATIO="-lmatio -lz"], [has_matio=no], [-lz])
CPPFLAGS="$ac_save_CPPFLAGS"
LDFLAGS="$ac_save_LDFLAGS"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment