From d5a1f2b45cbf3c0a688a9ca01a1948f489db8e7f Mon Sep 17 00:00:00 2001 From: Brad Date: Sun, 12 Sep 2004 13:50:19 +0000 Subject: [PATCH] * libtool.m4: Fixes for the OpenBSD support --- ChangeLog | 4 ++++ m4/libtool.m4 | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 14db743b8..28617375e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-09-12 Brad + + * libtool.m4: Fixes for the OpenBSD support + 2004-09-12 Peter O'Gorman Our fortran tests were not very good. All the libraries created diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 073a1a60e..c0c1d141c 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -5106,7 +5106,9 @@ if test "$caught_CXX_error" != yes; then ;; openbsd*) - _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' + _LT_TAGVAR(hardcode_direct, $1)=yes + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' -- 2.47.2