diff --git a/m4/ert.m4 b/m4/ert.m4 index c7843b6a..28067892 100644 --- a/m4/ert.m4 +++ b/m4/ert.m4 @@ -30,7 +30,7 @@ AS_IF([test x"${with_ert}" != x"no"], ERT_CPPFLAGS= ERT_LDFLAGS= - ERT_LIBS="-lecl -lgeometry -lutil -lpthread -lz -lgomp" + ERT_LIBS="-lecl -lgeometry -lert_util -lpthread -lz -lgomp" AS_IF([test x"${with_ert}" != x"yes"], [ERT_LDFLAGS="-L${with_ert}/lib" ERT_CPPFLAGS="-I${with_ert}/include"], [:])[]dnl