diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2011-09-27 12:26:38 -0700 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 13:45:59 -0700 |
commit | a8b19e5367738f606a051f254858dc09de2a695a (patch) | |
tree | c949f32c4f958f54dd8ff8a2a54f779a92a9f4f8 /gem | |
parent | 1f704cfb89324fd7b7cc6f92ea7fa66c7a46846c (diff) | |
download | luasocket-a8b19e5367738f606a051f254858dc09de2a695a.tar.gz luasocket-a8b19e5367738f606a051f254858dc09de2a695a.tar.bz2 luasocket-a8b19e5367738f606a051f254858dc09de2a695a.zip |
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.
Diffstat (limited to 'gem')
0 files changed, 0 insertions, 0 deletions