xchat: fix cross compile
This commit is contained in:
parent
60d2b13ae1
commit
e7e30f8887
|
@ -23,7 +23,9 @@ pre_configure() {
|
|||
if [ "$CROSS_BUILD" ];then
|
||||
perlflags=$(perl -MExtUtils::Embed -e ldopts | sed \
|
||||
-e 's/-lgdbm //' \
|
||||
-e 's/-mtune=generic//' \
|
||||
-e "s#/usr/lib#${XBPS_CROSS_BASE}\0#")
|
||||
sed -i "s#PERL_LDFLAGS=#\0$perlflags#" configure
|
||||
sed -i "s#PERL_CFLAGS=#\0$CFLAGS#" configure
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue