winpthreads: new configure option `--with-winnt`
This option allows users who build the library specify the minimal
Windows version they want winpthreads to be able to run on.
This option has two effects:
1. Define `WINPTHREADS_WINNT` macro during compilation.
2. Pass linker option in order to set subsystem version in the created DLL.
In case if this option specifies Windows version not supported by
the host (--host), it will halt configuration with an error message.
Signed-off-by: Kirill Makurin <maiddaisuki@outlook.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2 files changed