Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
authorRichard Levitte <levitte@openssl.org>
Wed, 29 May 2002 21:00:08 +0000 (21:00 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 May 2002 21:00:08 +0000 (21:00 +0000)
PR: 58, submitted by andrew@cis.uoguelph.ca

crypto/dso/dso_dlfcn.c

index 1a19164..906b470 100644 (file)
@@ -114,7 +114,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
  * as we don't have autoconf yet, I'm implementing a hack that could
  * be hacked further relatively easily to deal with cases as we find
  * them. Initially this is to cope with OpenBSD. */
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__NetBSD__)
 #      ifdef DL_LAZY
 #              define DLOPEN_FLAG DL_LAZY
 #      else