pkg-config tool can work on Windows and libpcap upstream has libpcap.pc. Can npcap SDK provide this file on Windows? It would eliminate libpcap.a/wpcap.lib difference for cross-platform projects that use pkg-config, e.g. via meson build system.
Probably 32-bit and 64-bit folder should have their own .pc files, so that they are selected by PKG_CONFIG_PATH.
Prefix path can be set to some recommended location to install SDK, like C:\Program Files\Npcap.
(Update: on Windows, pkg-config can detect prefix if file is placed inside ${prefix}/lib/pkgconfig.)
pkg-config tool can work on Windows and libpcap upstream has
libpcap.pc. Can npcap SDK provide this file on Windows? It would eliminatelibpcap.a/wpcap.libdifference for cross-platform projects that use pkg-config, e.g. via meson build system.Probably 32-bit and 64-bit folder should have their own .pc files, so that they are selected by
PKG_CONFIG_PATH.Prefix path can be set to some recommended location to install SDK, like
C:\Program Files\Npcap.(Update: on Windows, pkg-config can detect prefix if file is placed inside
${prefix}/lib/pkgconfig.)