config: never link with pthread on Windows
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Sat, 20 Jun 2020 22:35:42 +0000 (01:35 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 23 Jun 2020 14:38:58 +0000 (16:38 +0200)
commit9d8feca54205db3866ee8598b8be208c75c0c3b9
tree265c8d494b9cfdb519377ac1a498c95f68465b68
parent2e40fdc2d305e6864c8840a0985018edc94562d5
config: never link with pthread on Windows

Even if pthread is provided by the toolchain, it is not needed for DPDK
on Windows, because internal shim is used. As a side-effect, this
enables cross-build with MinGW configured with non-POSIX thread library,
e.g. mcfgthread, which is the default on some distributions.

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Pallavi Kadam <pallavi.kadam@intel.com>
config/meson.build