solve LUA_PATH overwrite problem

This commit is contained in:
nymphium 2016-03-31 05:26:53 +09:00
parent 2dc328bf5c
commit ca33e55ff3

View File

@ -1,8 +1,8 @@
LUA ?= lua5.1 LUA ?= lua5.1
LUA_VERSION = $(shell $(LUA) -e 'print(_VERSION:match("%d%.%d"))') LUA_VERSION = $(shell $(LUA) -e 'print(_VERSION:match("%d%.%d"))')
LUAROCKS = luarocks-$(LUA_VERSION) LUAROCKS = luarocks-$(LUA_VERSION)
LUA_PATH_MAKE = $(shell $(LUAROCKS) path --lr-path) LUA_PATH_MAKE = $(shell $(LUAROCKS) path --lr-path);./?.lua;./?/init.lua
LUA_CPATH_MAKE = $(shell $(LUAROCKS) path --lr-cpath) LUA_CPATH_MAKE = $(shell $(LUAROCKS) path --lr-cpath);./?.so
.PHONY: test local compile compile_system watch lint count show .PHONY: test local compile compile_system watch lint count show