From: Ileana Dumitrescu Date: Wed, 30 Oct 2024 18:32:25 +0000 (+0200) Subject: libtool.m4: Update hardcode_shlibpath_var for OpenBSD X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c310c9b0439a020add4c23d84ab33eeb486bd75;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 5092b0e31..857e9c119 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