pocketpy: Add pic options to cflags

Ensures that PIC is always used to build

Fixes
error: relocation R_386_PC32 cannot be used against symbol 'LZ4_compress_fast_extState'; recompile with -fPIC

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2025-01-07 16:20:02 -08:00
parent 7b6d24f9de
commit 14b3a5ccb2
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -20,6 +20,8 @@ S = "${WORKDIR}/git"
inherit cmake
CFLAGS += "-fPIC"
do_install() {
install -d ${D}${libdir}
install -m 0644 ${B}/libpocketpy.so ${D}${libdir}/