scons: fix path remove to be less aggressive

This commit is contained in:
Dane Springmeyer 2014-05-13 15:25:05 -07:00
parent 039e620147
commit 92bf9782f8

View file

@ -193,7 +193,7 @@ def shortest_name(libs):
def rm_path(item,set,_env):
for i in _env[set]:
if item in i:
if i.startswith(item):
_env[set].remove(i)
def sort_paths(items,priority):