antonijn/Pencil.Gaming — pull request #27 by andykorth (2014-07-16 15:21:58+00:00)
Title: Add 32bit dylibs for lua

I was having trouble with Mac Mono loading the Lua libraries. When GLFW and loaded fine, I noticed that the liblua.dylib was a 64 bit library (Mach-O 64-bit dynamically linked shared library x86_64). I've had problems in the past where Mono couldn't load 64 bit libraries.. I guess the regular mac version of mono isn't 64 bit yet.

So I compiled 32 bit dylibs for mono, and now it works in my project.

After this pull request is applied:
```
kortham@Turing ~/projects/PencilAndy/Pencil.Gaming$ file natives*/*lua*.dylib
natives32-glfw2/liblua.dylib: Mach-O dynamically linked shared library i386
natives32-glfw3/liblua.dylib: Mach-O dynamically linked shared library i386
natives64-glfw2/liblua.dylib: Mach-O 64-bit dynamically linked shared library x86_64
natives64-glfw3/liblua.dylib: Mach-O 64-bit dynamically linked shared library x86_64
```

I'd be happy to answer any questions. Not sure if that's how you'd like the libraries organized. I noticed glfw.dylib isn't in each folder and there's only a 32 bit one. Full listing of libraries: https://gist.github.com/andykorth/45f2e3fee66fd163bac1