summaryrefslogtreecommitdiff
path: root/Cross
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2021-06-24 14:49:55 +1000
committerTony Cook <tony@develop-help.com>2021-08-11 14:40:22 +1000
commit68f1b6d700b9662cfdec43ceddbd086d4b59c87e (patch)
tree63621a829b468f50b903296b5259e9ebfa80ce02 /Cross
parent7e12ee61fac08d210b4f192160a1de75771f27c9 (diff)
downloadperl-68f1b6d700b9662cfdec43ceddbd086d4b59c87e.tar.gz
only #include <xlocale.h> when it is actually needed
This header was originally only needed for builds on darwin and FreeBSD, but was being included whenever it was detected. This has caused problems when what was an internal header was removed (from glibc) and in general wasn't needed anyway. On FreeBSD only localeconv_l() requires xlocale.h, so we test specifically for that.
Diffstat (limited to 'Cross')
-rw-r--r--Cross/config.sh-arm-linux1
-rw-r--r--Cross/config.sh-arm-linux-n7701
2 files changed, 2 insertions, 0 deletions
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index 3534d3734f..dc3e95e59b 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -1189,6 +1189,7 @@ version_patchlevel_string='version 35 subversion 3'
versiononly='undef'
vi=''
xlibpth='/usr/lib/386 /lib/386'
+xlocale_needed='undef'
yacc='yacc'
yaccflags=''
zcat=''
diff --git a/Cross/config.sh-arm-linux-n770 b/Cross/config.sh-arm-linux-n770
index d3aad6985a..37460a9859 100644
--- a/Cross/config.sh-arm-linux-n770
+++ b/Cross/config.sh-arm-linux-n770
@@ -1187,6 +1187,7 @@ version_patchlevel_string='version 35 subversion 3'
versiononly='undef'
vi=''
xlibpth='/usr/lib/386 /lib/386'
+xlocale_needed='undef'
yacc='yacc'
yaccflags=''
zcat=''