perl-Text-BibTeX/add-loongarch64-support.patch
shaojiansong ff44052820 Add loongarch64 support
(cherry picked from commit 30b2609981a5b18fd7353be337a0cb0bb2adcdaa)
2024-11-12 21:13:02 +08:00

13 lines
513 B
Diff

diff -Naur Text-BibTeX-0.88/Build.PL Text-BibTeX-0.88-change/Build.PL
--- Text-BibTeX-0.88/Build.PL 2019-04-29 23:02:41.000000000 +0800
+++ Text-BibTeX-0.88-change/Build.PL 2024-05-14 11:14:00.561149690 +0800
@@ -88,7 +88,7 @@
}
}
else {
- if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64/ ) {
+ if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64|^loongarch64/ ) {
$libdir =~ s/\bbin\b/lib64/;
if ( !-d $libdir ) {
my $test = $libdir;