branch: master
commit 323d8a5dfd80b9e3eb649cdf2a08a7cb9d6ba833
Author: Ileana Dumitrescu <[email protected]>
AuthorDate: Wed Oct 30 20:32:25 2024 +0200
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.
---
m4/libtool.m4 | 3 ---
1 file changed, 3 deletions(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index d0d36865..2955adeb 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