[oe-commits] [openembedded-core] 11/29: python3-pycairo: Pass -fPIC via CFLAGS
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 8 15:39:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit ee54c74b53f7761ee6c3d10ab98757510ff2c994
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Jul 25 01:35:29 2017 -0700
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
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/python/python3-pycairo_1.10.0.bb | 2 ++
1 file changed, 2 insertions(+)
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 f9031b3..9258ba1 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() {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list