isomd5sum/fix-build-error-for-sw_64.patch

26 lines
702 B
Diff
Raw Normal View History

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