diff options
author | Vinson Lee <[email protected]> | 2017-07-05 14:16:11 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2017-07-06 09:51:28 -0700 |
commit | c5d0dc7fa5566941a49ede8c83a0cfe0a33a3d7f (patch) | |
tree | eff9d3a88e948762e5d3d134f7926a9bff94f718 /install-lib-links.mk | |
parent | a6c2001ace8ddf56b3781bc0bbf181173b8f393b (diff) |
scons: Check for xlocale.h before defining HAVE_XLOCALE_H.
Don't assume the header is present on some platforms - use the more
robust CheckHeader() instead.
glibc 2.26 removed xlocale.h.
https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27
Fix this build error with glibc 2.26.
Compiling src/util/strtod.c ...
src/util/strtod.c:32:10: fatal error: xlocale.h: No such file or directory
#include <xlocale.h>
^~~~~~~~~~~
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101657
Signed-off-by: Vinson Lee <[email protected]>
Cc: [email protected]
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Tested-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'install-lib-links.mk')
0 files changed, 0 insertions, 0 deletions