Add /opt and /opt/local to the scons prefixes list
This commit is contained in:
parent
0a674ad08d
commit
35c7faa5d5
1 changed files with 1 additions and 1 deletions
|
@ -14,5 +14,5 @@ def restore_env(env, backup):
|
|||
|
||||
def find_include(prefixes, include_file, include_subdir, default_prefixes = True):
|
||||
if default_prefixes:
|
||||
prefixes = prefixes + ["/usr", "/usr/local", "/sw", "/sw/local"]
|
||||
prefixes = prefixes + ["/usr", "/usr/local", "/sw", "/sw/local", "/opt", "/opt/local"]
|
||||
return [(prefix, include) for prefix in prefixes for include in glob(join(prefix, "include", include_subdir, include_file))]
|
||||
|
|
Loading…
Add table
Reference in a new issue