Re: [dpdk-dev] [PATCH v2 5/6] config: discover libpcap on Windows
From: Dmitry Kozlyuk <hidden>
Date: 2021-03-16 09:37:41
2021-03-16 10:16 (UTC+0100), Thomas Monjalon:
25/02/2021 18:42, Dmitry Kozlyuk:quoted
2021-02-25 16:33, Bruce Richardson:quoted
On Thu, Feb 25, 2021 at 07:04:38PM +0300, Dmitry Kozlyuk wrote:quoted
2021-02-25 15:02, Ferruh Yigit:quoted
On 2/14/2021 2:16 AM, Dmitry Kozlyuk wrote:
[...]
quoted
pkg-config itself works on Windows if installed and given a PKG_CONFIG_PATH. Npcap doesn't provide a .pc file, despite libpcap commit 4f6b2b99 having it.Please work with them to provide a .pc.
Good idea, but I can't tell how soon they do'll it.
quoted
Another quirk is that library is named libpcap.a/wpcap.lib on Unix/Windows. I can just handle the name difference and assume it's in the search path.Yes please avoid adding a meson option for a path.
I have v3 that relies on search paths only with just a library name fixup. It's blocked by [2] and, transitively, by [1]. [1]: http://patchwork.dpdk.org/project/dpdk/list/?series=15513 [1]: http://patchwork.dpdk.org/project/dpdk/list/?series=15640