diff options
| author | Gary V. Vaughan | 2011-04-05 14:21:20 +0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-08-31 15:04:48 -0700 |
| commit | 9228a05f980f2e9704fd658e1e68105498383012 (patch) | |
| tree | e8172b9f9ba4432afb2afaf2d04ad02c1ddb19f6 /Library/Formula/cpptest.rb | |
| parent | cf63fef1872cb9447766bd7d9f015a5f591ed7e4 (diff) | |
| download | homebrew-9228a05f980f2e9704fd658e1e68105498383012.tar.bz2 | |
lua: install a dylib rather than a static liblua.
Although other loadable lua modules (such as those from luarocks)
should not link against even a dynamic liblua and tie themselves
to a particular release and runtime (e.g. breaking luajit capability):
Having a statically linked non-pic liblua in the lua binary can
and does cause hard to track memory allocation failure aborts due
to some minutae of the way '-bundle -undefined dynamic_lookup' objects
dlopened by the interpreter interact with the symbols resolved in
the static binary. The solution is to always build and install
liblua.dylib.
It appears that this issue is confined to Snow Leopard and/or the
version of gcc it ships with. This thread on the lua list contains
the explanation and patch:
http://lua-users.org/lists/lua-l/2009-10/msg00145.html
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/cpptest.rb')
0 files changed, 0 insertions, 0 deletions
