Created
February 19, 2014 20:31
-
-
Save nddrylliog/9100856 to your computer and use it in GitHub Desktop.
luarocks configs for mingw + osx cross-compiles. Create empty folders for each and put those in etc/luarocks/config.lua
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
variables = { | |
CC = "i686-apple-darwin11-gcc", | |
LD = "i686-apple-darwin11-gcc -L/usr/i686-apple-darwin11/usr/lib -lluajit-5.1", | |
CFLAGS = "-I/usr/i686-apple-darwin11/usr/include/luajit-2.0" | |
} | |
arch = "osx-x86" | |
lib_extension = "dylib" |
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
variables = { | |
CC = "i686-w64-mingw32-gcc", | |
LD = "i686-w64-mingw32-gcc -L/home/amos/Dev/dummyprefix-i686-w64-mingw32/lib -llua51", | |
CFLAGS = "-I/home/amos/Dev/dummyprefix-i686-w64-mingw32/include/luajit-2.0" | |
} | |
arch = "win32-x86" | |
lib_extension = "dll" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment