Fix standalone client build for Windows
Need to compile with -mthreads since commit f082ef9f
, v4.3.11.
This commit is contained in:
parent
65410d16fd
commit
774b590f55
1 changed files with 9 additions and 0 deletions
|
@ -69,6 +69,15 @@ fi
|
||||||
|
|
||||||
### Checks for typedefs, structures, and compiler characteristics.
|
### Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([for Windows])
|
||||||
|
AC_COMPILE_IFELSE(
|
||||||
|
[AC_LANG_SOURCE([[#ifdef _WIN32
|
||||||
|
#Here's a nickel, kid
|
||||||
|
#endif]])],
|
||||||
|
[Windows_res=no],
|
||||||
|
[Windows_res=yes CFLAGS="$CFLAGS -mthreads"])
|
||||||
|
AC_MSG_RESULT([$Windows_res])
|
||||||
|
|
||||||
|
|
||||||
### Checks for library functions.
|
### Checks for library functions.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue