summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13-fix_libsuffix.patch
blob: a8deaa551ac9f732d185af73454e33636ed9b37f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- kgtk-qt3/qt3/kqt3-wrapper.cmake.ORI	2012-08-08 22:30:14.598900960 +0200
+++ kgtk-qt3/qt3/kqt3-wrapper.cmake	2012-08-08 22:30:39.661367613 +0200
@@ -15,7 +15,7 @@
 app=`basename $0`
 
 if [ "$app" = "kqt3-wrapper" ] ; then
-    LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkqt3.so:$LD_PRELOAD "$@"
+    LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkqt3.so:$LD_PRELOAD "$@"
 else
     dir=`dirname $0`
     oldPath=$PATH
--- kgtk-qt3/gtk2/kgtk2-wrapper.cmake.ORI	2012-08-08 22:31:30.684286835 +0200
+++ kgtk-qt3/gtk2/kgtk2-wrapper.cmake	2012-08-08 22:32:10.294452119 +0200
@@ -19,7 +19,7 @@
 app=`basename $0`
 
 if [ "$app" = "kgtk2-wrapper" ] ; then
-    LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD "$@"
+    LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD "$@"
 else
     dir=`dirname $0`
     oldPath=$PATH