isomd5sum/0003-fix-sw_64-build-error.patch
maqi 31a05ec1e0 Add sw_64 support
(cherry picked from commit 38f9235fd62e967fab8bd4ddfda072759ccb9266)
2025-03-05 13:53:43 +08:00

26 lines
687 B
Diff

From 870e7c48c64897522b7368ae2fa283d6387890c5 Mon Sep 17 00:00:00 2001
From: maqi <maqi@uniontech.com>
Date: Mon, 3 Mar 2025 15:24:22 +0800
Subject: [PATCH] fix sw_64 build error
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 208393c..6f532ed 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 loongarch64 riscv64,$(shell uname -m)))
+ifneq (,$(filter sparc64 ppc64 ppc64le x86_64 s390x aarch64 loongarch64 riscv64 sw_64,$(shell uname -m)))
LIBDIR = lib64
else
LIBDIR = lib
--
2.39.3