| 12345678910111213141516171819202122 |
- commit 8ec5527ae4a486608e4003b51e21b41045daf7fd
- Author: hedger <hedger@users.noreply.github.com>
- Date: Sun Oct 16 21:11:27 2022 +0400
- fbt: fix for cincludes in app's private library definition (#1882)
- diff --git a/scripts/fbt_tools/fbt_extapps.py b/scripts/fbt_tools/fbt_extapps.py
- index 34fb942ab..9f81d4145 100644
- --- a/scripts/fbt_tools/fbt_extapps.py
- +++ b/scripts/fbt_tools/fbt_extapps.py
- @@ -80,10 +80,7 @@ def BuildAppElf(env, app):
- *lib_def.cflags,
- ],
- CPPDEFINES=lib_def.cdefines,
- - CPPPATH=list(
- - os.path.join(app._appdir.path, cinclude)
- - for cinclude in lib_def.cincludes
- - ),
- + CPPPATH=list(map(app._appdir.Dir, lib_def.cincludes)),
- )
-
- lib = private_lib_env.StaticLibrary(
|