summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-28 00:01:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-28 00:01:26 +0000
commitf195ed3e754866fae96b4b67735e295a78008a38 (patch)
treefe8064d4f82a0c7a623a744d68b9452fff262f87
parent3320ce95396a4b03052f56caa41faf3c5b52516e (diff)
downloadkgtk-qt3-f195ed3e754866fae96b4b67735e295a78008a38.tar.gz
kgtk-qt3-f195ed3e754866fae96b4b67735e295a78008a38.zip
Add libnspr4.so as an LD_PRELOAD dependency of kgtk-qt3 to fix Pidgin crash
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kgtk-qt3@1243491 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rwxr-xr-xgtk2/kgtk2-wrapper.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2/kgtk2-wrapper.cmake b/gtk2/kgtk2-wrapper.cmake
index 46865b7..0c0e7dc 100755
--- a/gtk2/kgtk2-wrapper.cmake
+++ b/gtk2/kgtk2-wrapper.cmake
@@ -19,7 +19,7 @@ fi
app=`basename $0`
if [ "$app" = "kgtk2-wrapper" ] ; then
- LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkgtk2.so:$LD_PRELOAD "$@"
+ LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD "$@"
else
dir=`dirname $0`
oldPath=$PATH
@@ -28,6 +28,6 @@ else
PATH=$oldPath
if [ "$real" != "" ] && [ "`dirname $real`" != "$dir" ] ; then
- LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkgtk2.so:$LD_PRELOAD $real "$@"
+ LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD $real "$@"
fi
fi