From 3c9f88330b61f861cb1218e3b16167c7013524c5 Mon Sep 17 00:00:00 2001 From: Axel Kittenberger Date: Mon, 3 Jun 2013 14:15:46 +0200 Subject: [PATCH] link to libmath when checking for LUA_COMPAT --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c95a496..5c31c07 100644 --- a/configure.ac +++ b/configure.ac @@ -71,7 +71,7 @@ fi _LIBS="${LIBS}" _CFLAGS="${CFLAGS}" _CPPFLAGS="${CPPFLAGS}" -LIBS="${LIBS} ${LUA_LIBS}" +LIBS="-lm ${LIBS} ${LUA_LIBS}" CFLAGS="${CFLAGS} ${LUA_CFLAGS}" CPPFLAGS="${CPPFLAGS} ${LUA_CFLAGS}"