mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 09:52:57 +02:00
borg: fix cross build.
This commit is contained in:
parent
fe51063790
commit
ca4feb364a
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ checksum=7a79c53f2fd3f8a687bb10dbec4591ce95878f89f4467544ef4e7a005407f94f
|
||||||
pre_build() {
|
pre_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i "s|\(possible_openssl_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
|
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
|
fi
|
||||||
}
|
}
|
||||||
post_build() {
|
post_build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue