Lines 14-24
Link Here
|
14 |
# use lua5.1 in the pkg-config calls |
14 |
# use lua5.1 in the pkg-config calls |
15 |
|
15 |
|
16 |
-LUA_CFLAGS=$(shell pkg-config --cflags lua) |
16 |
-LUA_CFLAGS=$(shell pkg-config --cflags lua) |
17 |
+LUA_CFLAGS=$(shell pkg-config --cflags lua-5.2) |
17 |
+LUA_CFLAGS=$(shell pkg-config --cflags lua-$(LUA_VER)) |
18 |
|
18 |
|
19 |
# default lua lib |
19 |
# default lua lib |
20 |
-LUA_LIBS=$(shell pkg-config --libs lua) |
20 |
-LUA_LIBS=$(shell pkg-config --libs lua) |
21 |
+LUA_LIBS=$(shell pkg-config --libs lua-5.2) |
21 |
+LUA_LIBS=$(shell pkg-config --libs lua-$(LUA_VER)) |
22 |
|
22 |
|
23 |
# luajit lib |
23 |
# luajit lib |
24 |
# LUA_LIBS=$(shell pkg-config --libs luajit) |
24 |
# LUA_LIBS=$(shell pkg-config --libs luajit) |