mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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:
@@ -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}/
|
||||
|
||||
Reference in New Issue
Block a user