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
v3.5.13-sru
tpearson 14 years ago
parent 3320ce9539
commit f195ed3e75

@ -19,7 +19,7 @@ fi
app=`basename $0` app=`basename $0`
if [ "$app" = "kgtk2-wrapper" ] ; then 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 else
dir=`dirname $0` dir=`dirname $0`
oldPath=$PATH oldPath=$PATH
@ -28,6 +28,6 @@ else
PATH=$oldPath PATH=$oldPath
if [ "$real" != "" ] && [ "`dirname $real`" != "$dir" ] ; then 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
fi fi

Loading…
Cancel
Save