mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
xchat: fix cross compile
This commit is contained in:
parent
60d2b13ae1
commit
e7e30f8887
1 changed files with 2 additions and 0 deletions
|
@ -23,7 +23,9 @@ pre_configure() {
|
||||||
if [ "$CROSS_BUILD" ];then
|
if [ "$CROSS_BUILD" ];then
|
||||||
perlflags=$(perl -MExtUtils::Embed -e ldopts | sed \
|
perlflags=$(perl -MExtUtils::Embed -e ldopts | sed \
|
||||||
-e 's/-lgdbm //' \
|
-e 's/-lgdbm //' \
|
||||||
|
-e 's/-mtune=generic//' \
|
||||||
-e "s#/usr/lib#${XBPS_CROSS_BASE}\0#")
|
-e "s#/usr/lib#${XBPS_CROSS_BASE}\0#")
|
||||||
sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure
|
sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure
|
||||||
|
sed -i "s#PERL_CFLAGS=#\0$CFLAGS#" configure
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue