borg: fix cross build.

This commit is contained in:
Christian Neukirchen 2016-05-21 22:44:35 +02:00
parent fe51063790
commit ca4feb364a

View file

@ -21,6 +21,7 @@ checksum=7a79c53f2fd3f8a687bb10dbec4591ce95878f89f4467544ef4e7a005407f94f
pre_build() {
if [ "$CROSS_BUILD" ]; then
sed -i "s|\(possible_openssl_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
sed -i "s|\(possible_lz4_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
fi
}
post_build() {