diff --git a/srcpkgs/libcap/template b/srcpkgs/libcap/template index 4d1af6f9e5b..2241c9ccd11 100644 --- a/srcpkgs/libcap/template +++ b/srcpkgs/libcap/template @@ -14,6 +14,8 @@ checksum=cee4568f78dc851d726fc93f25f4ed91cc223b1fe8259daa4a77158d174e6c65 if [ "$CHROOT_READY" ]; then hostmakedepends="gperf perl" +else + LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib" fi do_configure() {