rev 1.174.2.21

(LT_DLMUTEX_GETERROR): check if `lt_dlmutex_geterror_func' is set
instead of `lt_dlmutex_seterror_func'.

From libtool CVS
This commit is contained in:
brad 2006-01-07 21:28:41 +00:00
parent 9e1c4068d5
commit c9d7b7c2f1
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.51 2006/01/07 09:58:39 brad Exp $
# $OpenBSD: Makefile,v 1.52 2006/01/07 21:28:41 brad Exp $
# $FreeBSD: Makefile,v 1.2 1998/09/23 16:15:53 vanilla Exp $
COMMENT= "generic shared library support script"
@ -6,7 +6,7 @@ COMMENT-ltdl= "GNU libtool system independent dlopen wrapper"
VERSION= 1.5.22
DISTNAME= libtool-${VERSION}
PKGNAME-ltdl= libltdl-${VERSION}
PKGNAME-ltdl= libltdl-${VERSION}p1
SHARED_LIBS= ltdl 4.3
MODGNU_SHARED_LIBS= ltdl '-no-undefined'

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-libltdl_ltdl_c,v 1.1 2006/01/07 21:28:41 brad Exp $
--- libltdl/ltdl.c.orig Sat Jan 7 16:10:47 2006
+++ libltdl/ltdl.c Sat Jan 7 16:11:48 2006
@@ -894,7 +894,7 @@ static const char sys_search_path[] = LT
(*lt_dlmutex_seterror_func) (errormsg); \
else lt_dllast_error = (errormsg); } LT_STMT_END
#define LT_DLMUTEX_GETERROR(errormsg) LT_STMT_START { \
- if (lt_dlmutex_seterror_func) \
+ if (lt_dlmutex_geterror_func) \
(errormsg) = (*lt_dlmutex_geterror_func) (); \
else (errormsg) = lt_dllast_error; } LT_STMT_END