diff options
Diffstat (limited to 'bksys')
-rw-r--r-- | bksys/kde.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bksys/kde.py b/bksys/kde.py index 1f435da..625e4ca 100644 --- a/bksys/kde.py +++ b/bksys/kde.py @@ -15,8 +15,8 @@ NORMAL ="\033[0m" import os, re, types from SCons.Script.SConscript import SConsEnvironment -# Returns the name of the shared object (i.e. libkdeui.so.4) -# referenced by a libtool archive (like libkdeui.la) +# Returns the name of the shared object (i.e. libtdeui.so.4) +# referenced by a libtool archive (like libtdeui.la) def getSOfromLA(lafile): contents = open(lafile, 'r').read() match = re.search("^dlname='([^']*)'$", contents, re.M) @@ -119,8 +119,8 @@ def detect_kde(env): else: try: tmplibdir = os.popen('kde-config --expandvars --install lib').read().strip() - libkdeuiSO = tmplibdir+'/'+getSOfromLA(tmplibdir+'/libkdeui.la') - m = re.search('(.*)/lib/libqt.*', os.popen('ldd ' + libkdeuiSO + ' | grep libqt').read().strip().split()[2]) + libtdeuiSO = tmplibdir+'/'+getSOfromLA(tmplibdir+'/libtdeui.la') + m = re.search('(.*)/lib/libqt.*', os.popen('ldd ' + libtdeuiSO + ' | grep libqt').read().strip().split()[2]) except: m=None if m: |