diff options
Diffstat (limited to 'meta/classes/meson.bbclass')
-rw-r--r-- | meta/classes/meson.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index dc8c28963c..e1a13bbbf7 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass | |||
@@ -12,8 +12,9 @@ MESON_SOURCEPATH = "${S}" | |||
12 | def noprefix(var, d): | 12 | def noprefix(var, d): |
13 | return d.getVar(var).replace(d.getVar('prefix') + '/', '', 1) | 13 | return d.getVar(var).replace(d.getVar('prefix') + '/', '', 1) |
14 | 14 | ||
15 | MESON_BUILDTYPE ?= "plain" | ||
15 | MESONOPTS = " --prefix ${prefix} \ | 16 | MESONOPTS = " --prefix ${prefix} \ |
16 | --buildtype plain \ | 17 | --buildtype ${MESON_BUILDTYPE} \ |
17 | --bindir ${@noprefix('bindir', d)} \ | 18 | --bindir ${@noprefix('bindir', d)} \ |
18 | --sbindir ${@noprefix('sbindir', d)} \ | 19 | --sbindir ${@noprefix('sbindir', d)} \ |
19 | --datadir ${@noprefix('datadir', d)} \ | 20 | --datadir ${@noprefix('datadir', d)} \ |