From: Khem Raj Date: Tue, 25 Jul 2017 08:35:29 +0000 (-0700) Subject: python3-pycairo: Pass -fPIC via CFLAGS X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa0ddeb79a438b052b11b13d6b7b044f34806fe8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3-pycairo: Pass -fPIC via CFLAGS Fixes | /mnt/a/oe/build/tmp/work/corei7-64-bec-linux/python3-pycairo/1.10.0-r2/recipe-sysroot-native/usr/bin/x86_64-bec-linu x/x86_64-bec-linux-ld: src/cairomodule.c.1.o: relocation R_X86_64_PC32 against symbol `CairoError' can not be used whe n making a shared object; recompile with -fPIC (From OE-Core rev: 058b155a66c5f81573379d258250323c72901ff7) Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb b/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb index f9031b3bcaf..9258ba11c77 100644 --- a/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb +++ b/meta/recipes-devtools/python/python3-pycairo_1.10.0.bb @@ -19,6 +19,8 @@ S = "${WORKDIR}/pycairo-${PV}" inherit distutils3 pkgconfig +CFLAGS += "-fPIC" + BBCLASSEXTEND = "native" do_configure() {