Skip to content
Snippets Groups Projects
Commit 0819305e authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

RTLD_GLOBAL is back (didn't help anyays)

Rev: src/dynamic_load.c:1.39
parent faef11da
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
# include "pike_macros.h"
# include "main.h"
RCSID("$Id: dynamic_load.c,v 1.38 2000/02/17 00:32:42 hubbe Exp $");
RCSID("$Id: dynamic_load.c,v 1.39 2000/02/17 18:58:16 hubbe Exp $");
#endif /* !TESTING */
......@@ -254,8 +254,9 @@ void f_load_module(INT32 args)
module_name = sp[-args].u.string->str;
/* Removing RTLD_GLOBAL breaks some PiGTK themes - Hubbe */
module=dlopen(module_name,
(d_flag ? RTLD_NOW : RTLD_LAZY) /* |RTLD_GLOBAL */ );
(d_flag ? RTLD_NOW : RTLD_LAZY) |RTLD_GLOBAL );
if(!module)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment