Set DLOPEN_FLAG the same way on NetBSD as on OpenBSD.
PR: 58, submitted by andrew@cis.uoguelph.ca
This commit is contained in:
parent
6298bf9073
commit
3d27b1fa85
@ -114,7 +114,7 @@ DSO_METHOD *DSO_METHOD_dlfcn(void)
|
|||||||
* as we don't have autoconf yet, I'm implementing a hack that could
|
* 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
|
* be hacked further relatively easily to deal with cases as we find
|
||||||
* them. Initially this is to cope with OpenBSD. */
|
* them. Initially this is to cope with OpenBSD. */
|
||||||
#ifdef __OpenBSD__
|
#if defined(__OpenBSD__) || defined(__NetBSD__)
|
||||||
# ifdef DL_LAZY
|
# ifdef DL_LAZY
|
||||||
# define DLOPEN_FLAG DL_LAZY
|
# define DLOPEN_FLAG DL_LAZY
|
||||||
# else
|
# else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user