summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--startkde5
1 files changed, 4 insertions, 1 deletions
diff --git a/startkde b/startkde
index 72a100b1b..8caf6168e 100644
--- a/startkde
+++ b/startkde
@@ -408,7 +408,10 @@ else
fi
if [ -n $KGTK_PRELOAD ]; then
- export LD_PRELOAD=$KGTK_PRELOAD:$LD_PRELOAD
+ if [ -e /usr/lib/libnspr4.so ]; then
+ KGTK_NSPR_PRELOAD="/usr/lib/libnspr4.so:"
+ fi
+ export LD_PRELOAD=$KGTK_PRELOAD:$KGTK_NSPR_PRELOAD$LD_PRELOAD
fi
# We run mkfontdir on the user's font dirs (if we have permission) to pick