2021-03-22 16:04 (UTC+0000), Nick Connolly: > > meson guarantees this is portable, so this also allows us to remove a > > is_windows switch. > Hi Gabriel, > > On Windows, there are at least three different compilation options: > > * MinGW-w64 with posix threads > * MinGW-w64 with win32 threads (different download) > * Clang without threads support > > The Windows EAL library doesn't use a threads package and instead uses > it's own wrappers around the native Windows system calls. Given that, I > believe the existing behaviour of not specifying the pthreads package > for a Windows build is correct and shouldn't be changed.
Hi Nick, Threads is a dummy dependency for Clang. For MinGW without pthread it still adds -pthread switch (and it comes to libdpdk.pc), but executable doesn't require pthread library to run. I can imagine DPDK built by MinGW without pthread be linked via pkg-config to an app built by MinGW with pthread, then -pthread switch will be added from libdpdk.pc. Do you think it's an issue?