Răsfoiți Sursa

app_python: reverted changes (dlflags)

Konstantin Mosesov 12 ani în urmă
părinte
comite
da007aaf6a
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      modules/app_python/python_mod.c

+ 1 - 1
modules/app_python/python_mod.c

@@ -74,7 +74,7 @@ static cmd_export_t cmds[] = {
 /** module exports */
 /** module exports */
 struct module_exports exports = {
 struct module_exports exports = {
     "app_python",                   /* module name */
     "app_python",                   /* module name */
-    DEFAULT_DLFLAGS,                /* dlopen flags */
+    RTLD_NOW | RTLD_GLOBAL,         /* dlopen flags */
     cmds,                           /* exported functions */
     cmds,                           /* exported functions */
     params,                         /* exported parameters */
     params,                         /* exported parameters */
     0,                              /* exported statistics */
     0,                              /* exported statistics */