link to libmath when checking for LUA_COMPAT

This commit is contained in:
Axel Kittenberger 2013-06-03 14:15:46 +02:00
parent 46d23d59b3
commit 3c9f88330b
1 changed files with 1 additions and 1 deletions

View File

@ -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}"