mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/lsof: fix build without wchar or locale
Fix the following build failure without wchar or locale raised since bump to version 4.99.3 in commit1edafc4b48and898fe0ecee: In file included from common.h:42, from misc.c:31: ../machine.h:415:26: fatal error: wctype.h: No such file or directory 415 | # define WIDECHARINCL <wctype.h> | ^ Fixes: - http://autobuild.buildroot.org/results/aa98b10e8eff5cc4fd03b4a64224cdfb6a0324a5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
2d0327c802
commit
5b12863107
@@ -16,14 +16,14 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_USE_WCHAR),)
|
ifeq ($(BR2_USE_WCHAR),)
|
||||||
define LSOF_CONFIGURE_WCHAR_FIXUPS
|
define LSOF_CONFIGURE_WCHAR_FIXUPS
|
||||||
$(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' \
|
$(SED) 's,^#[[:space:]]*define HASWIDECHAR.*,#undef HASWIDECHAR,' \
|
||||||
$(@D)/machine.h
|
$(@D)/machine.h
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_ENABLE_LOCALE),)
|
ifeq ($(BR2_ENABLE_LOCALE),)
|
||||||
define LSOF_CONFIGURE_LOCALE_FIXUPS
|
define LSOF_CONFIGURE_LOCALE_FIXUPS
|
||||||
$(SED) 's,^#define[[:space:]]*HASSETLOCALE.*,#undef HASSETLOCALE,' \
|
$(SED) 's,^#[[:space:]]*define HASSETLOCALE.*,#undef HASSETLOCALE,' \
|
||||||
$(@D)/machine.h
|
$(@D)/machine.h
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user