sw_64: move library files to /usr/lib64, consistent with libdir macros

(cherry picked from commit 8b878760b7415f2bd49490906e3689c94ccd563f)
This commit is contained in:
yueyuankun 2025-03-20 14:08:16 +08:00 committed by openeuler-sync-bot
parent 7018c24462
commit 105c4f6580
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 107e7cab6824ed78f6cb62c9b44d6ab466a26eba Mon Sep 17 00:00:00 2001
From: yueyuankun <yueyuankun@kylinos.cn>
Date: Wed, 19 Mar 2025 20:05:58 +0800
Subject: [PATCH] sw_64: package library files to /usr/lib64, consistent with
libdir macros
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 7c0ca79..f63ef04 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ else
ifneq (,$(findstring sw_64,$(ARCH)))
CC64 = $(CC)
ELF64 = sw_64elf
-TMPLIB64 = lib
+TMPLIB64 = lib64
CUSTOM_LDSCRIPTS = no
else
ifneq (,$(findstring aarch64,$(ARCH)))
--
2.43.0

View File

@ -2,7 +2,7 @@
Name: libhugetlbfs
Version: 2.23
Release: 6
Release: 7
Summary: A library which provides easy access to huge pages of memory
License: LGPLv2+
URL: https://github.com/libhugetlbfs/libhugetlbfs
@ -13,6 +13,7 @@ Patch1: Disable-hugepage-backed-malloc-if-__morecore-is-not-.patch
Patch2: libhugetlbfs-2.23-sw.patch
Patch3: add-loongarch-support.patch
Patch4: Add-support-for-loongarch64-architecture-in-ld.hugetlbfs.patch
Patch5: libhugetlbfs-sw_64-package-library-files-to-usr-lib64.patch
Patch9001:libhugetlbfs-make-cflags.patch
Patch9002:libhugetlbfs-fix-max-segment-cannot-adopt-the-x86.patch
@ -87,6 +88,9 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/hugepages.conf
%changelog
* Wed Mar 19 2025 yueyuankun <yueyuankun@kylinos.cn> - 2.23-7
- sw_64: move library files to /usr/lib64, consistent with libdir macros
* Tue Oct 29 2024 wangqiang <wangqiang1@kylinos.cn> - 2.23-6
- Add support for loongarch64 architecture in ld.hugetlbfs