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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue