use -pthread rather than libc_r on OpenBSD

patch from bugzilla bug 198462
thanks to timeless and Rich Cannings
This commit is contained in:
david 2003-04-13 02:57:40 +00:00
parent 3a0e8bb760
commit b3bc1f4462

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-directory_c-sdk_ldap_libraries_libldap_Makefile_in,v 1.1 2003/04/13 02:57:40 david Exp $
--- directory/c-sdk/ldap/libraries/libldap/Makefile.in.orig Tue Mar 25 07:57:37 2003
+++ directory/c-sdk/ldap/libraries/libldap/Makefile.in Sat Apr 12 01:45:20 2003
@@ -230,7 +230,7 @@ EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_L
endif
ifeq ($(OS_ARCH), OpenBSD)
-EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -lc_r
+EXTRA_LIBS = -L$(dist_libdir) -l$(LBER_LIBNAME) -pthread
endif
###########################################################################