diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/meson.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index e9628033c6..ff52d20e56 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass | |||
@@ -68,6 +68,9 @@ def meson_operating_system(var, d): | |||
68 | os = d.getVar(var) | 68 | os = d.getVar(var) |
69 | if "mingw" in os: | 69 | if "mingw" in os: |
70 | return "windows" | 70 | return "windows" |
71 | # avoid e.g 'linux-gnueabi' | ||
72 | elif "linux" in os: | ||
73 | return "linux" | ||
71 | else: | 74 | else: |
72 | return os | 75 | return os |
73 | 76 | ||