wooppss / lua-checker

Automatically exported from code.google.com/p/lua-checker
Other
0 stars 0 forks source link

[PATCH] fix lua-checker build on Mac OS X #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
lua-checker does not build on Mac OS X 10.6. I am using MacPorts 1.9.2 and lua 
5.1.4.

Problems:
1. Makefile tries to statically link "lua/src/liblua.a" instead of dynamically 
linking "-llua".
2. CHECK_LUA.sh tries to run "lua/src/luac" instead of just "luac".
3. test.lua references missing file "tmp/abc.lua"

Attached is a patch that fixes these problems for Mac OS X, though I am sure 
this patch will not be happy on other platforms like Linux (e.g. MacPorts' link 
path "-L/opt/local/lib").

Original issue reported on code.google.com by goo...@cpeterso.com on 14 Dec 2010 at 7:04

Attachments: