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

This commit is contained in:
Dane Springmeyer 2010-02-22 19:53:44 +00:00
parent a0f4b7ec4a
commit e4c952052d

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'