20 Star 0 Fork 28

openEuler-RISC-V/mpich

forked from src-openEuler/mpich 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
autoconf-pull-dynamic-and-not-static-libs-from-pkg-config.patch 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
misaka00251 提交于 2022-03-17 22:57 +08:00 . Upgrade package version
commit d0a81cafec8aa4fa668417cb641626a7c3f61c10
Author: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
Date: Thu Apr 1 10:11:45 2021 +0200
autoconf: pull dynamic and not static libs from pkg-config
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
diff --git confdb/aclocal_libs.m4 confdb/aclocal_libs.m4
index 50d6a8b4cbce..9b769d0fc401 100644
--- confdb/aclocal_libs.m4
+++ confdb/aclocal_libs.m4
@@ -108,12 +108,12 @@ dnl PAC_LIB_DEPS(library_name, library_pc_path)
dnl library_pc_path is the path to the library pkg-config directory
AC_DEFUN([PAC_LIB_DEPS],[
if test "x$2" != "x"; then
- ac_lib$1_deps=`pkg-config --static --libs $2/lib$1.pc 2>/dev/null`
+ ac_lib$1_deps=`pkg-config --libs $2/lib$1.pc 2>/dev/null`
# remove the library itself in case it is embedded
ac_lib$1_deps=`echo $ac_lib$1_deps | sed 's/-l$1//'`
else
# use system default
- ac_lib$1_deps=`pkg-config --static --libs lib$1 2>/dev/null`
+ ac_lib$1_deps=`pkg-config --libs lib$1 2>/dev/null`
fi
])
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler-risc-v/mpich.git
git@gitee.com:openeuler-risc-v/mpich.git
openeuler-risc-v
mpich
mpich
master

搜索帮助