Revert: change RTLD_LOCAL back to RTLD_GLOBAL when dlopening application binary

This reverts commit dfac5b0f10.
pull/1/head
Antti Kervinen 15 years ago
parent 0521924a4c
commit f5f64d6bd2

@ -300,7 +300,7 @@ void* Booster::loadMain()
#endif #endif
// Load the application as a library // Load the application as a library
void * module = dlopen(m_app.fileName().c_str(), RTLD_LAZY | RTLD_LOCAL); void * module = dlopen(m_app.fileName().c_str(), RTLD_LAZY | RTLD_GLOBAL);
if (!module) if (!module)
Logger::logErrorAndDie(EXIT_FAILURE, "Booster: Loading invoked application failed: '%s'\n", dlerror()); Logger::logErrorAndDie(EXIT_FAILURE, "Booster: Loading invoked application failed: '%s'\n", dlerror());

Loading…
Cancel
Save