diff options
author | Lucile Quirion <lucile.quirion@savoirfairelinux.com> | 2014-04-07 15:17:24 -0400 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-04-08 22:53:58 +0200 |
commit | a518381ed805c368b42935fbfe51b3f3cb8a3bcf (patch) | |
tree | c081da7c5c687e45f0969026cd707373fd4d604d /package/cppcms/cppcms.mk | |
parent | d996fe44d32a8382db7ca07636aea8d27366c448 (diff) | |
download | buildroot-a518381ed805c368b42935fbfe51b3f3cb8a3bcf.tar.gz buildroot-a518381ed805c368b42935fbfe51b3f3cb8a3bcf.zip |
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>
Diffstat (limited to 'package/cppcms/cppcms.mk')
-rw-r--r-- | package/cppcms/cppcms.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/cppcms/cppcms.mk b/package/cppcms/cppcms.mk index 4068df70a1..206b30fcbe 100644 --- a/package/cppcms/cppcms.mk +++ b/package/cppcms/cppcms.mk @@ -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. |