mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
openbsd compile fix from nano
This commit is contained in:
parent
54e8cb1cb2
commit
58c9203adc
1 changed files with 4 additions and 0 deletions
|
@ -120,7 +120,11 @@ static void *
|
||||||
pi_open_lib (const char *name, int global_syms)
|
pi_open_lib (const char *name, int global_syms)
|
||||||
{
|
{
|
||||||
void *dlhand;
|
void *dlhand;
|
||||||
|
#ifdef __OpenBSD__
|
||||||
|
int flags = RTLD_LAZY;
|
||||||
|
#else
|
||||||
int flags = RTLD_NOW;
|
int flags = RTLD_NOW;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_DLOPEN)
|
#if defined(HAVE_DLOPEN)
|
||||||
# if defined(RTLD_GLOBAL)
|
# if defined(RTLD_GLOBAL)
|
||||||
|
|
Loading…
Reference in a new issue