Skip to content

Commit

Permalink
build: fix warning in lua related configure check
Browse files Browse the repository at this point in the history
luaL_openlibs is actually declared in lualib.h.
  • Loading branch information
martanne committed May 13, 2017
1 parent 49db502 commit 9d216fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ if test "$lua" != "no" ; then

cat > "$tmpc" <<EOF
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
#if LUA_VERSION_NUM < 502
Expand Down Expand Up @@ -493,6 +494,7 @@ if test $CONFIG_LUA -eq 1 -a "$lpeg" != "no" ; then

cat > "$tmpc" <<EOF
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
int main(int argc, char *argv[]) {
Expand Down

0 comments on commit 9d216fd

Please sign in to comment.