forked from pool/mvapich3
Nicolas Morey
b3c4954942
- Update to v3.0 GA - Cleanup spec file - standard flavour has been removed and has been replaced by the ucx flavour - Drop 32b arch support - Disable static libraries for non-HPC build - No need to pull ucx nor libfabric-devel for mvapich3-devel - Replace 0001-fix-control-reaches-end-of-non-void-function.patch with upstream: - mpi-coll-missing-return.patch - mpl-warnings-missing-return.patch - Add: - mvapich3-s390_get_cycles.patch for s390 support - pass-correct-size-to-snprintf.patch to fix potential overflows - autoconf-pull-dynamic-and-not-static-libs-from-pkg-config.patch to fix libfabric sub dependencies being unnecessary pulled - config-replace-AC_TRY_-COMPILE-LINK-RUN.patch to replace osolete autoconf macros OBS-URL: https://build.opensuse.org/request/show/1148143 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich3?expand=0&rev=4
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
commit ec98a7804ec492d8af7f84472baedb23ec49fb3b
|
|
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 77f0ed0ce9c7..8d41939a2458 100644
|
|
--- confdb/aclocal_libs.m4
|
|
+++ confdb/aclocal_libs.m4
|
|
@@ -199,12 +199,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
|
|
])
|
|
|