mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-11 14:57:36 +02:00
Use RTLD_GLOBAL
This commit is contained in:
parent
0369788ab6
commit
a019a29471
1 changed files with 1 additions and 1 deletions
|
@ -5633,7 +5633,7 @@ void Cyc_import_shared_object(void *data, object cont, object filename, object e
|
|||
function_type entry_pt;
|
||||
Cyc_check_str(data, filename);
|
||||
Cyc_check_str(data, entry_pt_fnc);
|
||||
handle = dlopen(string_str(filename), RTLD_LAZY);
|
||||
handle = dlopen(string_str(filename), RTLD_GLOBAL | RTLD_LAZY);
|
||||
if (handle == NULL) {
|
||||
//make_string(s, dlerror());
|
||||
fprintf(stderr, "%s\n", dlerror());
|
||||
|
|
Loading…
Add table
Reference in a new issue