"vscode:/vscode.git/clone" did not exist on "23e0d65397c66abeed12f2af2f2ee47994e24bca"
Commit 6a042438 authored by Daniel Hiltgen's avatar Daniel Hiltgen
Browse files

Switch to local dlopen symbols

parent dc88cc39
...@@ -59,7 +59,7 @@ void dyn_init(const char *libPath, struct dynamic_llama_server *s, ...@@ -59,7 +59,7 @@ void dyn_init(const char *libPath, struct dynamic_llama_server *s,
}; };
printf("loading library %s\n", libPath); printf("loading library %s\n", libPath);
s->handle = LOAD_LIBRARY(libPath, RTLD_GLOBAL|RTLD_NOW); s->handle = LOAD_LIBRARY(libPath, RTLD_LOCAL|RTLD_NOW);
if (!s->handle) { if (!s->handle) {
err->id = -1; err->id = -1;
char *msg = LOAD_ERR(); char *msg = LOAD_ERR();
......
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