mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-10 10:10:28 +03:00
cppcms: fix build with uClibc
This patch modifies the cppcms package in order to support uClibc-based toolchains. The booster library by default compiles with the posix backend under Linux, but this needs monetary.h which isn't provided by uClibc, so work around that with the help of the DISABLE_POSIX_LOCALE configure option. Signed-off-by: Lucile Quirion <lucile.quirion@savoirfairelinux.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
d996fe44d3
commit
a518381ed8
@@ -18,6 +18,11 @@ CPPCMS_CONF_OPT += -DDISABLE_ICONV=ON
|
||||
CPPCMS_DEPENDENCIES += icu
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
|
||||
# posix backend needs monetary.h which isn't available on uClibc
|
||||
CPPCMS_CONF_OPT += -DDISABLE_POSIX_LOCALE=on
|
||||
endif
|
||||
|
||||
# We copy cppcms_tmpl_cc from staging to host because this file can be
|
||||
# needed for compiling packages using cppcms. And it is not worth
|
||||
# creating a host package just for a python script.
|
||||
|
||||
Reference in New Issue
Block a user