-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
1 changed file
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters