Skip to content

Commit

Permalink
scons: fixup LIBDIR value settings - closes #1349
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Jul 27, 2012
1 parent 03422de commit 4340e9a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions SConstruct
Expand Up @@ -32,6 +32,10 @@ try:
except:
HAS_DISTUTILS = False

if platform.uname()[4] == 'ppc64':
LIBDIR_SCHEMA='lib64'
else:
LIBDIR_SCHEMA='lib'

py3 = None

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4340e9a

Please sign in to comment.