From: Ileana Dumitrescu Date: Wed, 30 Oct 2024 18:32:25 +0000 (+0200) Subject: libtool.m4: Update hardcode_shlibpath_var for OpenBSD X-Git-Tag: v2.5.4~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=323d8a5dfd80b9e3eb649cdf2a08a7cb9d6ba833;p=thirdparty%2Flibtool.git libtool.m4: Update hardcode_shlibpath_var for OpenBSD When generating an executable in OpenBSD, the executable fails to generate when shlibpath_var, LD_LIBRARY_PATH, is used solely to locate dependent libraries. For hardcoding library paths in OpenBSD, see documentation for hardcode_direct and hardcode_libdir_flag_spec. * m4/libtool.m4: Update hardcode_shlibpath_var from 'no' to 'unsupported' by removing 'with_gnu_ld=no' for OpenBSD. --- diff --git a/m4/libtool.m4 b/m4/libtool.m4 index d0d368659..2955adebf 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -5091,9 +5091,6 @@ dnl Note also adjust exclude_expsyms for C++ above. # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC) with_gnu_ld=yes ;; - openbsd*) - with_gnu_ld=no - ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes