scons: ensure sorting of libs/includes is the same

This commit is contained in:
Dane Springmeyer 2011-11-13 19:12:39 -08:00
parent c519a170d7
commit e59e1fc50f

View file

@ -231,7 +231,7 @@ def sort_paths(items,priority):
else:
path_types['user'].append(i)
# key system libs (likely others will fall into 'other')
elif '/usr/' in i or '/System' in i or '/lib' in i:
elif '/usr/' in i or '/System' in i or i.startswith('/lib'):
path_types['system'].append(i)
# anything not yet matched...
# likely a combo of rare system lib paths and