Skip to content

Commit 8127946

Browse files
committed
Check for mingw32 target, not host
1 parent 1ebed7a commit 8127946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ AC_CHECK_FUNCS([floor getcwd strtol])
4646
AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests], [enable testing the build]),
4747
[enable_tests="$enableval"], [enable_tests=no])
4848

49-
AS_CASE([$host], [*-*-mingw32], [is_mingw32=yes], [is_mingw32=no])
49+
AS_CASE([$target], [*-*-mingw32], [is_mingw32=yes], [is_mingw32=no])
5050
AM_CONDITIONAL(COMPILER_IS_MINGW32, test "x$is_mingw32" = "xyes")
5151

5252
dnl The dlopen() function is in the C library for *BSD and in

0 commit comments

Comments
 (0)