Skip to content

Commit 8f96658

Browse files
committed
Include Luarocks packages in the Lua paths used by local compile target
1 parent cd68b23 commit 8f96658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ local: compile
2222
compile:
2323
LUA_PATH='$(LUA_PATH_MAKE)' LUA_CPATH='$(LUA_CPATH_MAKE)' $(LUA) bin/moonc moon/ moonscript/
2424
echo "#!/usr/bin/env lua" > bin/moon
25-
$(LUA) bin/moonc -p bin/moon.moon >> bin/moon
25+
LUA_PATH='$(LUA_PATH_MAKE)' LUA_CPATH='$(LUA_CPATH_MAKE)' $(LUA) bin/moonc -p bin/moon.moon >> bin/moon
2626
echo "-- vim: set filetype=lua:" >> bin/moon
2727

2828
compile_system:

0 commit comments

Comments
 (0)