summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-pygobject_2.28.3.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-25 12:31:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-25 12:39:49 +0000
commitf2ca8bc297007e410e9803e915d321b1ba445760 (patch)
tree4ccc25800ac433a00f80f8304d1c12a55632c5aa /meta/recipes-devtools/python/python-pygobject_2.28.3.bb
parenta77f368cca4e3870a235caf19a28dbb93651687f (diff)
downloadpoky-f2ca8bc297007e410e9803e915d321b1ba445760.tar.gz
python-pygobject: Disable parallel make install in native case
Comments within the commit describe the issue. (From OE-Core rev: 2d923d6dfe9431dbc005f8ba39838eb4519c471c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-pygobject_2.28.3.bb')
-rw-r--r--meta/recipes-devtools/python/python-pygobject_2.28.3.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pygobject_2.28.3.bb b/meta/recipes-devtools/python/python-pygobject_2.28.3.bb
index e7f17ff689..f4359bb257 100644
--- a/meta/recipes-devtools/python/python-pygobject_2.28.3.bb
+++ b/meta/recipes-devtools/python/python-pygobject_2.28.3.bb
@@ -12,6 +12,19 @@ SRC_URI = "${GNOME_MIRROR}/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
12 file://obsolete_automake_macros.patch \ 12 file://obsolete_automake_macros.patch \
13" 13"
14 14
15# libtool-native doesn't have fixinstall.patch applied which means
16# that libs get relinked at installation time. This triggers a
17# relinking along the lines of:
18# gcc -L/tmp/foo/media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/lib -lpyglib-2.0-python -o .libs/_glib.so
19# where /tmp/foo is DESTDIR and pyglib-2.0-python may be installed/reinstalled
20# at the same time as the gcc command runs.
21# If this happens between the handoff between gcc and ld, you can see:
22# /bin/ld: cannot find -lpyglib-2.0-python
23# Adding a dependency rule like install-pyglibLTLIBRARIES: install-libLTLIBRARIES
24# would be ideal but automake can't cope with that without manually
25# defining the whole function. Give up and disable parallel make in native builds.
26PARALLEL_MAKEINST_class-native = ""
27
15SRC_URI[md5sum] = "aa64900b274c4661a5c32e52922977f9" 28SRC_URI[md5sum] = "aa64900b274c4661a5c32e52922977f9"
16SRC_URI[sha256sum] = "7da88c169a56efccc516cebd9237da3fe518a343095a664607b368fe21df95b6" 29SRC_URI[sha256sum] = "7da88c169a56efccc516cebd9237da3fe518a343095a664607b368fe21df95b6"
17S = "${WORKDIR}/pygobject-${PV}" 30S = "${WORKDIR}/pygobject-${PV}"