libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: OpenBSD dlsearch path (was: libtool vs. -lresolv)


From: Ralf Wildenhues
Subject: FYI: OpenBSD dlsearch path (was: libtool vs. -lresolv)
Date: Sun, 18 Dec 2005 13:07:18 +0100
User-agent: Mutt/1.5.9i

* 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  <address@hidden>

        * 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  <address@hidden>

        * 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]