Tags: timothyschoen/pd-lua
Tags
Add support for Apple silicon Macs and pkg-config lua. Disabled some compilation options which prevented compilation on Apple silicon Macs (M1, M2, etc.). Lua header files and libraries are located using pkg-config now, to better accommodate different build environments. There's also a new `static` option to link against the static Lua library, which is useful if the target system doesn't have the dynamic Lua library installed. To do this, invoke make as `make static=yes` (of course, you'll need to have liblua.a installed to make this work). If pkg-config fails to locate the Lua header files and libraries, you can still use LUA_CFLAGS and LUA_LIBS to point make to the right locations. E.g., the following should work on most Unix-like systems if Lua is installed in the standard location: LUA_CFLAGS = -I/usr/include/lua LUA_LIBS = -llua
PreviousNext