You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
552 B

-- cross-compilation
local function getenv(name) return os_getenv(name) or '' end
variables.LUA_INCDIR = getenv('TARGET_INCLUDE_DIR')
variables.LUA_LIBDIR = getenv('TARGET_LIB_DIR')
variables.CC = getenv('TARGET_CC')
variables.LD = getenv('TARGET_LD')
variables.CFLAGS = getenv('(TARGET_CFLAGS')
variables.LDFLAGS = getenv('(TARGET_LDFLAGS')
variables.LIBFLAG = [[-shared ]] .. getenv('TARGET_LDFLAGS')
external_deps_dirs = { getenv('TARGET_DIR') }
gcc_rpath = false
rocks_trees = { getenv('TARGET_DIR') }
wrap_bin_scripts = false
deps_mode = [[none]]