2013-09-26 17:14:40 +02:00

14 lines
385 B
Plaintext

$NetBSD: patch-aa,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $
--- libs/util/plugin.c.orig 2003-12-27 23:56:05.000000000 -0800
+++ libs/util/plugin.c 2003-12-27 23:59:08.000000000 -0800
@@ -121,7 +121,7 @@
{
void *dlhand;
#ifndef _WIN32
-# ifdef __OpenBSD__
+# if defined(__OpenBSD__) || defined(__NetBSD__)
int flags = RTLD_LAZY;
# else
int flags = RTLD_NOW;