summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-07-25 01:35:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-09 09:24:15 +0100
commitaa0ddeb79a438b052b11b13d6b7b044f34806fe8 (patch)
tree094cee6988239cb362a8ebed77932864152fdd34 /meta/recipes-devtools/python
parente577be00d7e5679724b6af915b5288192059539f (diff)
downloadpoky-aa0ddeb79a438b052b11b13d6b7b044f34806fe8.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3-pycairo_1.10.0.bb2
1 files changed, 2 insertions, 0 deletions
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 f9031b3bca..9258ba11c7 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}"
19 19
20inherit distutils3 pkgconfig 20inherit distutils3 pkgconfig
21 21
22CFLAGS += "-fPIC"
23
22BBCLASSEXTEND = "native" 24BBCLASSEXTEND = "native"
23 25
24do_configure() { 26do_configure() {