lua52-luasec: fix build

This commit is contained in:
Đoàn Trần Công Danh 2020-11-16 22:02:06 +07:00
parent 3de6eab558
commit 29883fe470

View file

@ -16,7 +16,8 @@ checksum=cef3a35c18beb8a54d9c8ce6260a4cabbd9a386de8711320d084daffad0aed5d
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 \
make linux CC=$CC LD=$CC \
INC_PATH="-I${XBPS_CROSS_BASE}/usr/include -I${XBPS_CROSS_BASE}/usr/include/lua5.2" \
LIB_PATH=-L${XBPS_CROSS_BASE}/usr/lib
}