mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-01-30 00:22:50 +01:00
Sam Roberts
a8b19e5367
OS X CFLAGS definition caused silent failure to build debug version of luasocket.
The luasocket tests require LUASOCKET_DEBUG to be defined at build time, but for OS X if COMPAT was undefined, the command line looked like ... -I -DLUASOCKET_DEBUG ... so that the the macro definition was silently being treated as the argument to -I. Result is the macro was never set, and tests would never run. Fixed by moving -I to the (optional) definition of the location of compat headers.
This is the LuaSocket 2.0.1. It has been tested on WinXP, Mac OS X, and Linux. Please use the Lua mailing list to report any bugs (or "features") you encounter. Have fun, Diego Nehab.
Languages
HTML
48.5%
C
27.1%
Lua
22.7%
Makefile
1.4%