diff options
-rw-r--r-- | meta/recipes-devtools/flex/flex.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc index 472813be90..517db1626a 100644 --- a/meta/recipes-devtools/flex/flex.inc +++ b/meta/recipes-devtools/flex/flex.inc @@ -10,6 +10,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 " inherit autotools gettext -do_install_append_class-native() { - create_wrapper ${D}/${bindir}/flex M4=${STAGING_BINDIR_NATIVE}/m4 +M4 = "${bindir}/m4" +M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" + +do_install_append() { + create_wrapper ${D}/${bindir}/flex M4=${M4} } |