GCC 4.7 fixes.

Thanks to Francois Andriot.
(cherry picked from commit 5ca3dca610)
v3.5.13-sru
Darrell Anderson 12 years ago committed by Slávek Banko
parent 35dc9be4e6
commit 1bd417dea1

@ -781,7 +781,7 @@ def generate(env):
lenv.KDEinstall( 'KDEDOC', lenv.join(lang,destination), lenv.join(folder,'index.cache.bz2') )
if env['_INSTALL']:
dir=lenv.join(lenv.getInstDirForResType('KDEDOC'), lang, destination)
dir=lenv.join(env['DESTDIR'], lenv.getInstDirForResType('KDEDOC'), lang, destination)
comp='mkdir -p %s && cd %s && rm -f common && ln -s ../common common' % (dir, dir)
lenv.Execute(comp)

Loading…
Cancel
Save