[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/uirtk
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2004-09-07 17:36:56
Message-ID: 20040907173656.2E076175F () office ! kde ! org
[Download RAW message or body]

CVS commit by kainhofe: 

Don't assume libkuiextractor.so will always be installed into kde's library directory...


  M +9 -1      kuiextractor   1.2


--- kdenonbeta/uirtk/kuiextractor  #1.1:1.2
@@ -9,4 +9,12 @@
 
 KDELIBDIR=`kde-config --prefix`/lib
+EXTRACTORLIB="$KDELIBDIR/libkuiextractor.so"
 
-LD_PRELOAD="$KDELIBDIR/libkuiextractor.so" "$@"
+# if the library was not installed into kde's library directory,
+# just assume that it was installed in a place where the linker
+# can find it.
+if [ ! -e $EXTRACTORLIB ]; then 
+  EXTRACTORLIB="libkuiextractor.so"
+fi
+
+LD_PRELOAD="$EXTRACTORLIB" "$@"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic