diff options
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index cb6aca702f..a5db455248 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -92,16 +92,20 @@ do_install_append () { | |||
92 | sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/glib-mkenums | 92 | sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/glib-mkenums |
93 | fi | 93 | fi |
94 | 94 | ||
95 | # Make sure gio-querymodules is unique among multilibs | ||
96 | if test "x${MLPREFIX}" != "x"; then | ||
97 | mv ${D}${libexecdir}/gio-querymodules ${D}${libexecdir}/${MLPREFIX}gio-querymodules | ||
98 | fi | ||
99 | } | ||
100 | |||
101 | do_install_append_class-target () { | ||
102 | # Tests are only installed on targets, not native builds. Separating this out | ||
103 | # keeps glib-2.0-native from depending on ${DISTRO_FEATURES} | ||
95 | if [ -f ${D}${datadir}/installed-tests/glib/gdbus-serialization.test ]; then | 104 | if [ -f ${D}${datadir}/installed-tests/glib/gdbus-serialization.test ]; then |
96 | if ${@bb.utils.contains("DISTRO_FEATURES", "x11", "false", "true", d)}; then | 105 | if ${@bb.utils.contains("DISTRO_FEATURES", "x11", "false", "true", d)}; then |
97 | rm ${D}${datadir}/installed-tests/glib/gdbus-serialization.test | 106 | rm ${D}${datadir}/installed-tests/glib/gdbus-serialization.test |
98 | fi | 107 | fi |
99 | fi | 108 | fi |
100 | |||
101 | # Make sure gio-querymodules is unique among multilibs | ||
102 | if test "x${MLPREFIX}" != "x"; then | ||
103 | mv ${D}${libexecdir}/gio-querymodules ${D}${libexecdir}/${MLPREFIX}gio-querymodules | ||
104 | fi | ||
105 | } | 109 | } |
106 | 110 | ||
107 | do_install_append_libc-musl () { | 111 | do_install_append_libc-musl () { |