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 Tiernan Messmer
parent f56835cb65
commit 4d09a50fbb
2 changed files with 16 additions and 8 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)