isomd5sum/fix-build-error-for-sw_64.patch
Hailiang 56b36eca59 Add sw_64 support
(cherry picked from commit 41fb3bb34d3917710da2f13189cba053526a1360)
2025-03-24 10:00:42 +08:00

26 lines
702 B
Diff

From 9e9a6c0ed64a51498a0b48e83c88040e6aa4a36f Mon Sep 17 00:00:00 2001
From: Hailiang <mahailiang@uniontech.com>
Date: Mon, 17 Mar 2025 17:36:44 +0800
Subject: [PATCH] fix build error for sw_64
---
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.20.1