diff --git a/common/environment/build/bootstrap.sh b/common/environment/build/bootstrap.sh new file mode 120000 index 0000000000..a0cf1d22cd --- /dev/null +++ b/common/environment/build/bootstrap.sh @@ -0,0 +1 @@ +../configure/bootstrap.sh \ No newline at end of file diff --git a/common/environment/configure/bootstrap.sh b/common/environment/configure/bootstrap.sh new file mode 100644 index 0000000000..ff554eca55 --- /dev/null +++ b/common/environment/configure/bootstrap.sh @@ -0,0 +1,4 @@ +if [ -z "$CHROOT_READY" ]; then + CFLAGS="-I${XBPS_MASTERDIR}/usr/include" + LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib" +fi diff --git a/srcpkgs/libcap/template b/srcpkgs/libcap/template index 2241c9ccd1..4d1af6f9e5 100644 --- a/srcpkgs/libcap/template +++ b/srcpkgs/libcap/template @@ -14,8 +14,6 @@ checksum=cee4568f78dc851d726fc93f25f4ed91cc223b1fe8259daa4a77158d174e6c65 if [ "$CHROOT_READY" ]; then hostmakedepends="gperf perl" -else - LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib" fi do_configure() {