flex: propagate m4 dependency on wchar

Commit fe6a9e5e9d missed the fact that
m4 has a dependency on wide char support, so this dependency should be
propagated to flex.

Fixes:

  http://autobuild.buildroot.org/results/495/49502b2e33a346b2fcebf5e2da00af2661b54d6e/build-end.log

[Peter: Note where wchar dep comes from, show comment if not available]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2013-05-28 11:27:00 +00:00 committed by Peter Korsgaard
parent eb71e79f41
commit c0d30d4c94

View File

@ -14,5 +14,9 @@ config BR2_PACKAGE_FLEX_BINARY
depends on BR2_PACKAGE_FLEX
# runtime dependency
select BR2_PACKAGE_M4
depends on BR2_USE_WCHAR # m4
help
Install the flex binary tool in the target filesystem.
comment "flex binary requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR