scons: tweak logic for whether a path is a 'system' path, avoiding case where a custom path like /opt/mapnik/lib would be assumed to be a standard system path
This commit is contained in:
parent
08eec40986
commit
9a1983c670
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,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
|
||||
|
|
Loading…
Reference in a new issue