* Marc Espie wrote on Thu, Dec 15, 2005 at 07:46:41PM CET:
>
> On OpenBSD, the ld.so path is /usr/lib, and never includes /lib. Thus,
> do not put /lib there... this is more correct, and removes some useless
> tests...
I assume that Brad's comment was about the other part of the patch
only(?). So I have applied the following to CVS branch-1-5 and HEAD.
Cheers,
Ralf
branch-1-5:
2005-12-18 Marc Espie <[EMAIL PROTECTED]>
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ openbsd ]
<sys_lib_dlsearch_path_spec>: Set to `/usr/lib' only.
Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.141
diff -u -r1.314.2.141 libtool.m4
--- libtool.m4 27 Nov 2005 15:18:03 -0000 1.314.2.141
+++ libtool.m4 18 Dec 2005 12:04:55 -0000
@@ -1636,6 +1636,7 @@
openbsd*)
version_type=sunos
+ sys_lib_dlsearch_path_spec="/usr/lib"
need_lib_prefix=no
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
case $host_os in
HEAD:
2005-12-18 Marc Espie <[EMAIL PROTECTED]>
* libltdl/m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
[ openbsd ] <sys_lib_dlsearch_path_spec>: Set to `/usr/lib'
only.
Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.51
diff -u -r1.51 libtool.m4
--- libltdl/m4/libtool.m4 8 Dec 2005 04:17:02 -0000 1.51
+++ libltdl/m4/libtool.m4 18 Dec 2005 12:05:28 -0000
@@ -2348,6 +2348,7 @@
openbsd*)
version_type=sunos
+ sys_lib_dlsearch_path_spec="/usr/lib"
need_lib_prefix=no
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
case $host_os in