aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2022-06-26 09:24:28 +0100
committerIain Sandoe <iain@sandoe.co.uk>2022-06-26 15:50:42 +0100
commit1edfc8f2d3307a3ffa077a605f432832d7715462 (patch)
treea546fcf84f42b31e44e7b3e98b7e6eb8acfba512 /configure
parent87509781849b6a64d1c049599d75a06c0fa68d01 (diff)
configure, Darwin: Correct a pasto in host-shared processing.
We do, of course, mean $host not $target in this case. Corrected thus. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> ChangeLog: * configure: Regenerate. * configure.ac: Correct use of $host.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 097527b8cc0..d5fc7920ee1 100755
--- a/configure
+++ b/configure
@@ -8643,7 +8643,7 @@ fi
# Check whether --enable-host-shared was given.
if test "${enable_host_shared+set}" = set; then :
enableval=$enable_host_shared; host_shared=$enableval
- case $target in
+ case $host in
x86_64-*-darwin* | aarch64-*-darwin*)
if test x$host_shared != xyes ; then
# PIC is the default, and actually cannot be switched off.
@@ -8653,7 +8653,7 @@ if test "${enable_host_shared+set}" = set; then :
*) ;;
esac
else
- case $target in
+ case $host in
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
*) host_shared=no ;;
esac