scons: fixup LIBDIR value settings - closes #1349

This commit is contained in:
Dane Springmeyer 2012-07-27 10:56:24 -07:00
parent 03422de504
commit 4340e9a605

View file

@ -32,6 +32,10 @@ try:
except:
HAS_DISTUTILS = False
if platform.uname()[4] == 'ppc64':
LIBDIR_SCHEMA='lib64'
else:
LIBDIR_SCHEMA='lib'
py3 = None
@ -237,14 +241,6 @@ def sort_paths(items,priority):
new.extend(v)
return new
if platform.dist()[0] in ('Ubuntu','debian'):
LIBDIR_SCHEMA='lib'
elif platform.uname()[4] == 'ppc64':
LIBDIR_SCHEMA='lib64'
else:
LIBDIR_SCHEMA='lib'
def pretty_dep(dep):
pretty = pretty_dep_names.get(dep)
if pretty: