summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/flex/flex.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/flex/flex.inc')
-rw-r--r--meta/recipes-devtools/flex/flex.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc
index 517db1626a..43f1dda01c 100644
--- a/meta/recipes-devtools/flex/flex.inc
+++ b/meta/recipes-devtools/flex/flex.inc
@@ -13,6 +13,10 @@ inherit autotools gettext
M4 = "${bindir}/m4"
M4_class-native = "${STAGING_BINDIR_NATIVE}/m4"
-do_install_append() {
+do_install_append_class-native() {
+ create_wrapper ${D}/${bindir}/flex M4=${M4}
+}
+
+do_install_append_class-nativesdk() {
create_wrapper ${D}/${bindir}/flex M4=${M4}
}