Commit 04e741db authored by dons's avatar dons
Browse files

[project @ 2003-11-02 06:55:24 by dons]

More RTLD_* symbols are now available on OpenBSD.
This does not mean that ghci works yet, though.
parent 6c20d552
/* -----------------------------------------------------------------------------
* $Id: Linker.c,v 1.138 2003/10/29 16:12:00 wolfgang Exp $
* $Id: Linker.c,v 1.139 2003/11/02 06:55:24 dons Exp $
*
* (c) The GHC Team, 2000-2003
*
......@@ -744,11 +744,8 @@ addDLL( char *dll_name )
initLinker();
#if !defined(openbsd_TARGET_OS)
hdl= dlopen(dll_name, RTLD_NOW | RTLD_GLOBAL);
#else
hdl= dlopen(dll_name, RTLD_LAZY);
#endif
if (hdl == NULL) {
/* dlopen failed; return a ptr to the error msg. */
errmsg = dlerror();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment