tslib: remove comments from config file
[qi-bootmenu-system.git] / sources / sections / lua.sh
blobaf1e9c403298aeaa4ab0840bc6157e849a9022fc
1 setupfor lua
3 # XXX: build shared lib
5 # disable readline dependency
6 sed -i 's,^#define LUA_USE_READLINE,/* & */,g' src/luaconf.h
8 make CC="$CC" \
9 AR="${CROSS}ar rcu" \
10 RANLIB="${CROSS}ranlib" \
11 INSTALL_ROOT="/usr" \
12 MYCFLAGS="$CFLAGS" \
13 MYLDFLAGS="$LDFLAGS" \
14 MYLIBS="-Wl,-E -ldl" \
15 linux &&
16 make INSTALL_TOP="$STAGING_DIR/usr" install || dienow
18 cp etc/*.pc "$STAGING_DIR/usr/lib/pkgconfig"
19 #cp -P $STAGING_DIR/usr/lib/liblua.a $ROOT_DIR/usr/lib || dienow
21 pkgconfig_fixup_prefix lua
23 cleanup lua