]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 17 Sep 2006 19:30:15 +0000 (19:30 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 17 Sep 2006 19:30:15 +0000 (19:30 +0000)
[ openbsd ]: Set `hardcode_direct_absolute', to prefer rpath
over putting absolute file names in NEEDED entries.
* NEWS: Update.
Reported by Jake Meuser and others.

ChangeLog
NEWS
libltdl/m4/libtool.m4

index 397f76870d389e17457244e1b58daeeac803df95..31ae28db72de4c7b7e74e60e2f2cf80ef4998e08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2006-09-17  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
+       * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
+       [ openbsd ]: Set `hardcode_direct_absolute', to prefer rpath
+       over putting absolute file names in NEEDED entries.
+       * NEWS: Update.
+       Reported by Jake Meuser and others.
+
        * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
        [ k*bsd*-gnu ]: Test if ld sets DT_RUNPATH; in that case, set
        shlib_overrides_runpath to `yes'.  Fixes test failure of new
diff --git a/NEWS b/NEWS
index b1a5203c702205302cd3cddfc3a642e2427da470..098bcef0726f968b820e11d2a6af84ee4d8b31be 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -67,6 +67,8 @@ New in 1.9d: 2004-10-03; CVS version 1.9c, Libtool team:
 * Improved support for linux-gnu/ia64.
 * Initial support for s390x-ibm-tpf.
 * Fixed some memory leaks in libltdl.
+* Improved support for OpenBSD (use rpath instead of hardcoding absolute
+  file names).
 \f
 New in 1.9b: 2004-08-29; CVS version 1.5a, Libtool team:
 * The /^_?LT_[A-Z_]+$/ namespace is now reserved for Libtool's own macros.
index 0e49f0a4a04e58621f56f5c25f9557ce70c13f37..f35d14d505fe5b3375e96429cf904ae2c53a329f 100644 (file)
@@ -4668,6 +4668,7 @@ _LT_EOF
     openbsd*)
       _LT_TAGVAR(hardcode_direct, $1)=yes
       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
@@ -5874,6 +5875,7 @@ if test "$_lt_caught_CXX_error" != yes; then
       openbsd*)
        _LT_TAGVAR(hardcode_direct, $1)=yes
        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+       _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
        _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