Files
meta-openwrt/classes/openwrt-lua.bbclass
Daniel F. Dickinson 2acdf5e5cd classes: Split lua 5.1 compile options into separate class
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>
2018-02-02 10:03:05 -08:00

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"