summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/applauncher.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/launcher/applauncher.cpp b/core/launcher/applauncher.cpp
index 0ac043b..0db99dd 100644
--- a/core/launcher/applauncher.cpp
+++ b/core/launcher/applauncher.cpp
@@ -653,13 +653,20 @@ void AppLauncher::createQuickLauncher()
args[0] = "quicklauncher";
args[1] = 0;
for ( int fd = 3; fd < 100; fd++ )
::close( fd );
::setpgid( ::getpid(), ::getppid() );
// Try bindir first, so that foo/bar works too
- setenv( "LD_BIND_NOW", "1", 1 );
+ /*
+ * LD_BIND_NOW will change the behaviour of ld.so and dlopen
+ * RTLD_LAZY will be made RTLD_NOW which leads to problem
+ * with miscompiled libraries... if LD_BIND_NOW is set.. there
+ * is no way back.. We will wait for numbers from TT to see
+ * if using LD_BIND_NOW is worth it - zecke
+ */
+// setenv( "LD_BIND_NOW", "1", 1 );
::execv( QPEApplication::qpeDir()+"bin/quicklauncher", args );
::execvp( "quicklauncher", args );
delete []args;
disabled = TRUE;
_exit( -1 );
} else if ( qlPid == -1 ) {