diff --git a/srcpkgs/lua51-luasec/template b/srcpkgs/lua51-luasec/template index e09ea27665..c02e45e994 100644 --- a/srcpkgs/lua51-luasec/template +++ b/srcpkgs/lua51-luasec/template @@ -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() {