lua51-luasec: fix build

This commit is contained in:
Đoàn Trần Công Danh 2020-11-16 21:50:10 +07:00
parent ccd17a3750
commit 3de6eab558

View file

@ -19,7 +19,9 @@ replaces="luasec<=0.5.1_1"
do_build() {
lua src/options.lua -g ${XBPS_CROSS_BASE}/usr/include/openssl/ssl.h > src/options.h
make linux CC=$CC LD=$CC INC_PATH=-I${XBPS_CROSS_BASE}/usr/include LIB_PATH=-L${XBPS_CROSS_BASE}/usr/lib
make linux CC=$CC LD=$CC \
INC_PATH="-I${XBPS_CROSS_BASE}/usr/include -I${XBPS_CROSS_BASE}/usr/include/lua5.1" \
LIB_PATH=-L${XBPS_CROSS_BASE}/usr/lib
}
post_install() {