Signed-off-by: Jingyun Hua <huajingyun@loongson.cn> (cherry picked from commit d61ee16e90e283fe8d21eb56d0f14af27af5fc43)
27 lines
727 B
Diff
27 lines
727 B
Diff
From c8376fb7589920ab9fcb1daafc6166af7c7f21a7 Mon Sep 17 00:00:00 2001
|
|
From: Jingyun Hua <huajingyun@loongson.cn>
|
|
Date: Wed, 11 Jan 2023 16:43:06 +0800
|
|
Subject: [PATCH] fix build error for loongarch64
|
|
|
|
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
|
|
---
|
|
Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index c98cf35..f966afd 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -4,7 +4,7 @@ PYTHONINCLUDE := $(shell $(PYTHON)-config --includes)
|
|
|
|
VERSION=1.2.3
|
|
|
|
-ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64,$(shell uname -m)))
|
|
+ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64 loongarch64,$(shell uname -m)))
|
|
LIBDIR = lib64
|
|
else
|
|
LIBDIR = lib
|
|
--
|
|
2.33.0
|
|
|