diff options
-rw-r--r-- | meta/recipes-devtools/flex/flex.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc index 43f1dda01c..96d5de5f74 100644 --- a/meta/recipes-devtools/flex/flex.inc +++ b/meta/recipes-devtools/flex/flex.inc | |||
@@ -13,6 +13,9 @@ inherit autotools gettext | |||
13 | M4 = "${bindir}/m4" | 13 | M4 = "${bindir}/m4" |
14 | M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" | 14 | M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" |
15 | 15 | ||
16 | EXTRA_OECONF += "ac_cv_path_M4=${M4}" | ||
17 | EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4" | ||
18 | |||
16 | do_install_append_class-native() { | 19 | do_install_append_class-native() { |
17 | create_wrapper ${D}/${bindir}/flex M4=${M4} | 20 | create_wrapper ${D}/${bindir}/flex M4=${M4} |
18 | } | 21 | } |
@@ -20,3 +23,5 @@ do_install_append_class-native() { | |||
20 | do_install_append_class-nativesdk() { | 23 | do_install_append_class-nativesdk() { |
21 | create_wrapper ${D}/${bindir}/flex M4=${M4} | 24 | create_wrapper ${D}/${bindir}/flex M4=${M4} |
22 | } | 25 | } |
26 | |||
27 | RDEPENDS_${PN} += "m4" | ||