summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/sdk.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/sdk.py')
-rw-r--r--meta/lib/oe/sdk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/sdk.py b/meta/lib/oe/sdk.py
index 036d302447..beb56022a8 100644
--- a/meta/lib/oe/sdk.py
+++ b/meta/lib/oe/sdk.py
@@ -131,10 +131,10 @@ class Sdk(object, metaclass=ABCMeta):
131 131
132 def install_locales(self, pm): 132 def install_locales(self, pm):
133 # This is only relevant for glibc 133 # This is only relevant for glibc
134 if self.d.getVar("TCLIBC") != "glibc": 134 if self.d.getVar("TCLIBC", True) != "glibc":
135 return 135 return
136 136
137 linguas = self.d.getVar("SDKIMAGE_LINGUAS") 137 linguas = self.d.getVar("SDKIMAGE_LINGUAS", True)
138 if linguas: 138 if linguas:
139 import fnmatch 139 import fnmatch
140 # Install the binary locales 140 # Install the binary locales