mirror of
https://github.com/wled/WLED.git
synced 2025-07-23 18:56:41 +00:00
load_usermods: Enforce CPPPATH type
Ensure that entries put in CPPPATH are always strings so SCons can correctlly deduplicate.
This commit is contained in:
parent
7998650e60
commit
6464c620c7
@ -108,10 +108,10 @@ def wrapped_ConfigureProjectLibBuilder(xenv):
|
||||
for dep in result.depbuilders:
|
||||
if is_wled_module(dep):
|
||||
# Add the wled folder to the include path
|
||||
dep.env.PrependUnique(CPPPATH=wled_dir)
|
||||
dep.env.PrependUnique(CPPPATH=str(wled_dir))
|
||||
# Add WLED's own dependencies
|
||||
for dir in extra_include_dirs:
|
||||
dep.env.PrependUnique(CPPPATH=dir)
|
||||
dep.env.PrependUnique(CPPPATH=str(dir))
|
||||
# Enforce that libArchive is not set; we must link them directly to the executable
|
||||
if dep.lib_archive:
|
||||
build = dep._manifest.get("build", {})
|
||||
|
Loading…
x
Reference in New Issue
Block a user