1 Star 0 Fork 55

liuhaofeng/mysql

forked from src-openEuler/mysql 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-build-error-for-loongarch64.patch 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
zhangwenlong01 提交于 2024-06-13 20:03 . fix build error for loongarch64
From 6932d2776fa2aa08023df31abc582c46b8afd819 Mon Sep 17 00:00:00 2001
From: Wenlong Zhang <zhangwenlong@loongson.cn>
Date: Thu, 13 Jun 2024 19:53:42 +0800
Subject: [PATCH] fix build error for loongarch64
---
cmake/fileutils.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/fileutils.cmake b/cmake/fileutils.cmake
index f24530bb..8bb742f8 100644
--- a/cmake/fileutils.cmake
+++ b/cmake/fileutils.cmake
@@ -133,7 +133,7 @@ IF(LINUX)
STRING(REGEX MATCH
"^[ ]+NEEDED[ ]+([-+_A-Za-z0-9\\.]+)" UNUSED ${LINE})
IF(CMAKE_MATCH_1)
- IF(CMAKE_MATCH_1 STREQUAL "ld-linux-x86-64.so.2" OR CMAKE_MATCH_1 STREQUAL "ld-linux-aarch64.so.1" OR CMAKE_MATCH_1 STREQUAL "ld-linux-riscv64-lp64d.so.1")
+ IF(CMAKE_MATCH_1 STREQUAL "ld-linux-x86-64.so.2" OR CMAKE_MATCH_1 STREQUAL "ld-linux-aarch64.so.1" OR CMAKE_MATCH_1 STREQUAL "ld-linux-riscv64-lp64d.so.1" OR CMAKE_MATCH_1 STREQUAL ld-linux-loongarch-lp64d.so.1)
SET(CMAKE_MATCH_1 "libdl.so.2")
ENDIF()
LIST(APPEND DEPENDENCIES ${CMAKE_MATCH_1})
--
2.43.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kkhome1/mysql.git
git@gitee.com:kkhome1/mysql.git
kkhome1
mysql
mysql
master

搜索帮助