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.
This commit is contained in:
parent
8750978184
commit
1edfc8f2d3
|
@ -8643,7 +8643,7 @@ fi
|
||||||
# Check whether --enable-host-shared was given.
|
# Check whether --enable-host-shared was given.
|
||||||
if test "${enable_host_shared+set}" = set; then :
|
if test "${enable_host_shared+set}" = set; then :
|
||||||
enableval=$enable_host_shared; host_shared=$enableval
|
enableval=$enable_host_shared; host_shared=$enableval
|
||||||
case $target in
|
case $host in
|
||||||
x86_64-*-darwin* | aarch64-*-darwin*)
|
x86_64-*-darwin* | aarch64-*-darwin*)
|
||||||
if test x$host_shared != xyes ; then
|
if test x$host_shared != xyes ; then
|
||||||
# PIC is the default, and actually cannot be switched off.
|
# PIC is the default, and actually cannot be switched off.
|
||||||
|
@ -8653,7 +8653,7 @@ if test "${enable_host_shared+set}" = set; then :
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
case $target in
|
case $host in
|
||||||
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
|
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
|
||||||
*) host_shared=no ;;
|
*) host_shared=no ;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1915,7 +1915,7 @@ AC_ARG_ENABLE(host-shared,
|
||||||
[AS_HELP_STRING([--enable-host-shared],
|
[AS_HELP_STRING([--enable-host-shared],
|
||||||
[build host code as shared libraries])],
|
[build host code as shared libraries])],
|
||||||
[host_shared=$enableval
|
[host_shared=$enableval
|
||||||
case $target in
|
case $host in
|
||||||
x86_64-*-darwin* | aarch64-*-darwin*)
|
x86_64-*-darwin* | aarch64-*-darwin*)
|
||||||
if test x$host_shared != xyes ; then
|
if test x$host_shared != xyes ; then
|
||||||
# PIC is the default, and actually cannot be switched off.
|
# PIC is the default, and actually cannot be switched off.
|
||||||
|
@ -1924,7 +1924,7 @@ AC_ARG_ENABLE(host-shared,
|
||||||
fi ;;
|
fi ;;
|
||||||
*) ;;
|
*) ;;
|
||||||
esac],
|
esac],
|
||||||
[case $target in
|
[case $host in
|
||||||
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
|
x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
|
||||||
*) host_shared=no ;;
|
*) host_shared=no ;;
|
||||||
esac])
|
esac])
|
||||||
|
|
Loading…
Reference in New Issue