diff --git a/configure.ac b/configure.ac index 242124205..b3b1a8e48 100644 --- a/configure.ac +++ b/configure.ac @@ -2430,6 +2430,7 @@ if test "$LUABIN"; then if test "$LUA_VERSION" = "5.0"; then LUALINK="$LUALINK -llualib" fi + LUALINK="$LUALINK -pthread" LIBS=$lua_save_LIBS # restore LIBS fi