df354b5ec5
- respect CC and CFLAGS - clean-up ok pvalchev@
16 lines
545 B
Plaintext
16 lines
545 B
Plaintext
$OpenBSD: patch-mal_client_unix_malsync_c,v 1.1 2001/10/16 12:34:23 naddy Exp $
|
|
--- mal/client/unix/malsync.c.orig Fri Jan 5 18:04:06 2001
|
|
+++ mal/client/unix/malsync.c Mon Oct 15 17:01:05 2001
|
|
@@ -227,7 +227,11 @@ loadSecLib(AGNetCtx **ctx)
|
|
#ifdef __linux__
|
|
h = dlopen(seclib, RTLD_GLOBAL|RTLD_NOW);
|
|
#else /* __linux__ */
|
|
+# ifdef OpenBSD
|
|
+ h = dlopen(seclib, RTLD_LAZY);
|
|
+# else /* OpenBSD */
|
|
h = dlopen(seclib, RTLD_NOW);
|
|
+# endif /*OpenBSD*/
|
|
#endif /* __linux */
|
|
|
|
if (h) {
|