scons: be less restrictive about what is likely a system path - may help debian compiles - closes #716

This commit is contained in:
Dane Springmeyer 2011-08-19 00:21:55 +00:00
parent c227b9a6a5
commit 989148aec0

View file

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