Can we add the RTLD_GLOBAL flag in s_loader.c to dlopen ?
That way it would be possible to generate externals for Gem without
haveing to recompile it.
Guenter
--- pd-0.32p1.orig/src/s_loader.c
+++ pd-0.32p1/src/s_loader.c
@@ -68,7 +68,7 @@
/* and append _setup to form the C setup function name */
strcat(symname, "_setup");
#ifdef UNIX
- dlobj = dlopen(filename, RTLD_NOW);
+ dlobj = dlopen(filename, RTLD_NOW | RTLD_GLOBAL);
if (!dlobj)
{
post("%s: %s", filename, dlerror());