diff options
| -rw-r--r-- | Shared.makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Shared.makefile b/Shared.makefile index d1a96fb..3809538 100644 --- a/Shared.makefile +++ b/Shared.makefile | |||
| @@ -30,7 +30,7 @@ ifeq "$(LUAROCKS)" "" | |||
| 30 | $(warning LUA_DEV not defined - try i.e. 'make LUA_DEV=/c/Program\ Files/Lua/5.1') | 30 | $(warning LUA_DEV not defined - try i.e. 'make LUA_DEV=/c/Program\ Files/Lua/5.1') |
| 31 | # this assumes Lua was built and installed from source and everything is located in default folders (/usr/local/include and /usr/local/bin) | 31 | # this assumes Lua was built and installed from source and everything is located in default folders (/usr/local/include and /usr/local/bin) |
| 32 | LUA_FLAGS := -I "/usr/local/include" | 32 | LUA_FLAGS := -I "/usr/local/include" |
| 33 | LUA_LIBS := $(word 1,$(shell which lua54.$(_SO) 2>/dev/null) $(shell which lua53.$(_SO) 2>/dev/null) $(shell which lua52.$(_SO) 2>/dev/null) $(shell which lua51$(_SO) 2>/dev/null)) | 33 | LUA_LIBS := $(word 1,$(shell which lua55.$(_SO) 2>/dev/null) $(shell which lua54.$(_SO) 2>/dev/null) $(shell which lua53.$(_SO) 2>/dev/null) $(shell which lua52.$(_SO) 2>/dev/null) $(shell which lua51$(_SO) 2>/dev/null)) |
| 34 | $(info detected LUA_LIBS as $(LUA_LIBS)) | 34 | $(info detected LUA_LIBS as $(LUA_LIBS)) |
| 35 | else | 35 | else |
| 36 | LUA_FLAGS := -I "$(LUA_DEV)/include" | 36 | LUA_FLAGS := -I "$(LUA_DEV)/include" |
