diff --git a/SConstruct b/SConstruct index 65a9f3ba7..09ccd4db6 100644 --- a/SConstruct +++ b/SConstruct @@ -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):