pulse_reader: remove from API, allow to link with faps

Signed-off-by: g3gg0.de <git@g3gg0.de>
This commit is contained in:
gornekich
2022-12-21 23:17:06 +04:00
committed by g3gg0.de
parent 4d0c9a4e64
commit 73056d34ff
2 changed files with 17 additions and 9 deletions

View File

@@ -12,6 +12,14 @@ env.Append(
libenv = env.Clone(FW_LIB_NAME="pulse_reader")
libenv.ApplyLibFlags()
libenv.AppendUnique(
CCFLAGS=[
# Required for lib to be linkable with .faps
"-mword-relocations",
"-mlong-calls",
],
)
sources = libenv.GlobRecursive("*.c*")
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)