aboutsummaryrefslogtreecommitdiffstats
path: root/packages/glib-2.0/glib-2.0.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/glib-2.0/glib-2.0.inc')
-rw-r--r--packages/glib-2.0/glib-2.0.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/glib-2.0/glib-2.0.inc b/packages/glib-2.0/glib-2.0.inc
new file mode 100644
index 0000000000..c8bde21cf2
--- /dev/null
+++ b/packages/glib-2.0/glib-2.0.inc
@@ -0,0 +1,5 @@
+
+python () {
+ if bb.data.getVar("USE_NLS", d, 1) == "no":
+ raise bb.parse.SkipPackage("${PN} requires native language support.")
+}