summaryrefslogtreecommitdiff
path: root/glib-2.0/glib-2.0_2.2.3.oe
diff options
context:
space:
mode:
Diffstat (limited to 'glib-2.0/glib-2.0_2.2.3.oe')
-rw-r--r--glib-2.0/glib-2.0_2.2.3.oe5
1 files changed, 5 insertions, 0 deletions
diff --git a/glib-2.0/glib-2.0_2.2.3.oe b/glib-2.0/glib-2.0_2.2.3.oe
index dc1bd110cf..dbc9bb9669 100644
--- a/glib-2.0/glib-2.0_2.2.3.oe
+++ b/glib-2.0/glib-2.0_2.2.3.oe
@@ -17,6 +17,11 @@ S = "${WORKDIR}/glib-${PV}"
inherit autotools pkgconfig gettext
+python () {
+ if oe.data.getVar("USE_NLS", d, 1) == "no":
+ raise oe.parse.SkipPackage("${PN} requires native language support.")
+}
+
acpaths = ""
do_configure_prepend () {
install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .