Skip to content

Commit

Permalink
configure, Darwin: Correct a pasto in host-shared processing.
Browse files Browse the repository at this point in the history
We do, of course, mean $host not $target in this case.  Corrected thus.

Signed-off-by: Iain Sandoe <[email protected]>

ChangeLog:

	* configure: Regenerate.
	* configure.ac: Correct use of $host.

(cherry picked from commit 1edfc8f)
  • Loading branch information
iains committed Apr 22, 2024
1 parent 8950973 commit f6b8bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -8646,7 +8646,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.
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,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.
Expand Down

0 comments on commit f6b8bd9

Please sign in to comment.