mirror of
https://github.com/optim-enterprises-bv/meta-openwrt.git
synced 2025-12-29 18:10:46 +00:00
We split off the lua compile options into a separate class so that packages that need them but not workaround for lack of proper SOVERSION don't inherit a problem. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
15 lines
438 B
Plaintext
15 lines
438 B
Plaintext
# This file Copyright (C) 2015 Khem Raj <raj.kem@gmail.com> and
|
|
#
|
|
# It is released under the MIT license. See COPYING.MIT
|
|
# for the terms.
|
|
|
|
OECMAKE_C_FLAGS += "-DLUA_COMPAT_5_1"
|
|
EXTRA_OECMAKE += "-DLUAPATH=/usr/lib/lua/5.1"
|
|
|
|
FILES_${PN} += "${libdir}/* ${datadir}/lua/5.*/"
|
|
FILES_${PN}-dbg += "${libdir}/lua/5.*/.debug"
|
|
|
|
DEPENDS += "lua5.1-native"
|
|
OECMAKE_C_FLAGS += "-I${STAGING_INCDIR}/lua5.1"
|
|
CFLAGS += "-I${STAGING_INCDIR}/lua5.1"
|