17 } |
17 } |
18 if linux then |
18 if linux then |
19 package.buildoptions = { "-Wall" } |
19 package.buildoptions = { "-Wall" } |
20 package.config["Debug"].buildoptions = { "-O0" } |
20 package.config["Debug"].buildoptions = { "-O0" } |
21 package.linkoptions = { "-Wall -L/usr/local/lib" } |
21 package.linkoptions = { "-Wall -L/usr/local/lib" } |
22 package.postbuildcommands = { "mkdir -p test/luaevent", "cp bin/* test/luaevent", "cp luaevent.lua test" } |
22 package.postbuildcommands = { "mkdir -p test/luaevent", "cp bin/* test/luaevent", "cp lua/* test" } |
23 else |
23 else |
24 print([[Other environements currently untested, may need tweaking]]) |
24 print([[Other environements currently untested, may need tweaking]]) |
25 end |
25 end |
26 |
26 |
27 package.files = { |
27 package.files = { |