fbt: fix for cincludes in app's private library definition (#1882)

This commit is contained in:
hedger 2022-10-16 21:11:27 +04:00 committed by GitHub
parent f06930e4ae
commit 8ec5527ae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,10 +80,7 @@ def BuildAppElf(env, app):
*lib_def.cflags, *lib_def.cflags,
], ],
CPPDEFINES=lib_def.cdefines, CPPDEFINES=lib_def.cdefines,
CPPPATH=list( CPPPATH=list(map(app._appdir.Dir, lib_def.cincludes)),
os.path.join(app._appdir.path, cinclude)
for cinclude in lib_def.cincludes
),
) )
lib = private_lib_env.StaticLibrary( lib = private_lib_env.StaticLibrary(