check for both 'debian' and 'Ubuntu' to figure out lib schema

This commit is contained in:
Dane Springmeyer 2010-02-22 19:50:09 +00:00
parent cd2cd2ba51
commit d093166b4a

View file

@ -68,7 +68,9 @@ def shortest_name(libs):
name = lib
return name
if platform.uname()[4] == 'x86_64' and platform.system() == 'Linux' and not platform.dist()[0] == 'debian':
if platform.dist()[0] in ('Ubuntu','debian'):
LIBDIR_SCHEMA='lib'
elif platform.uname()[4] == 'x86_64' and platform.system() == 'Linux':
LIBDIR_SCHEMA='lib64'
elif platform.uname()[4] == 'ppc64':
LIBDIR_SCHEMA='lib64'