diff mbox series

[pushed] configure, Darwin: Correct a pasto in host-shared processing.

Message ID 20220626151403.99503-1-iain@sandoe.co.uk
State New
Headers show
Series [pushed] configure, Darwin: Correct a pasto in host-shared processing. | expand

Commit Message

Iain Sandoe June 26, 2022, 3:14 p.m. UTC
We do, of course, mean $host not $target in this case.  Corrected thus.

tested on x86_64-darwin and x86_64-linux, pushed to master, thanks
Iain

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

ChangeLog:

	* configure: Regenerate.
	* configure.ac: Correct use of $host.
---
 configure    | 4 ++--
 configure.ac | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index f941b81af7f..dcea067759d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1915,7 +1915,7 @@  AC_ARG_ENABLE(host-shared,
 [AS_HELP_STRING([--enable-host-shared],
 		[build host code as shared libraries])],
 [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.
@@ -1924,7 +1924,7 @@  AC_ARG_ENABLE(host-shared,
      fi ;;
   *) ;;
  esac],
-[case $target in
+[case $host in
   x86_64-*-darwin* | aarch64-*-darwin*) host_shared=yes ;;
   *) host_shared=no ;;
  esac])