flipperzero-firmware_official 756 B

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