1 LOADLIB = "-DUSE_DLOPEN=1 -fPIC"
3 MYLDFLAGS = "${LDFLAGS} -Wl,-E"
5 USERCONF = '-DLUA_USERCONFIG="\"$(LUA)/etc/saconfig.c\"" -DUSE_READLINE'
6 # EXTRA_LIBS= "-lm -ldl -lreadline # -lhistory -lcurses -lncurses"
7 EXTRA_LIBS= "-lm -ldl -lreadline"
10 EXTRA_OEMAKE = "'CC=${CC}' 'MYCFLAGS=${MYCFLAGS}' \
11 'MYLDFLAGS=${MYLDFLAGS}' 'WARN=' \
12 'INSTALL_EXEC=install -m 0755' \
13 'INSTALL_DATA=install -m 0644' \
14 'STRIP=echo' 'RANLIB=${RANLIB}' \
15 'AR=${AR} rcu' 'LD=${LD}' \
16 'LOADLIB=${LOADLIB}' 'DLLIB=${DLLIB}' \
17 'USERCONF=${USERCONF}' 'EXTRA_LIBS=${EXTRA_LIBS}' \
18 'INSTALL_ROOT=${prefix}' 'INSTALL_BIN=${bindir}' \
19 'INSTALL_INC=${includedir}' 'INSTALL_MAN=${mandir}/man1' \
20 'INSTALL_SHARE=${datadir}/lua'"
23 oe_runmake all so sobin
27 oe_libinstall -C lib liblua ${STAGING_LIBDIR}/
28 oe_libinstall -C lib liblualib ${STAGING_LIBDIR}/
29 install -m 0644 include/lua.h include/lualib.h include/lauxlib.h ${STAGING_INCDIR}/
34 'INSTALL_ROOT=${D}${prefix}' \
35 'INSTALL_BIN=${D}${bindir}' \
36 'INSTALL_INC=${D}${includedir}' \
37 'INSTALL_MAN=${D}${mandir}/man1' \
38 'INSTALL_SHARE=${D}${datadir}/lua' \