diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-04-02 23:29:40 +0000 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-04-04 13:38:07 +0200 |
commit | aed58f545bec0712bcdbe14e2b8386db0c650a91 (patch) | |
tree | 0bf73d6859623bfd6fe87c3d4593b3d4e987bb41 /libipq/ipq_get_packet.3 | |
parent | 78850e7dba64a949c440dbdbe557f59409c6db48 (diff) |
build: use pkg-config for libpcap
If building statically, with libpcap built with libnl support, linking
will fail, as the compiler won't be able to find the libnl symbols
since static libraries don't contain dependency information. To fix
this, use pkg-config to find the flags for linking libpcap, since the
pkg-config files contain the neccesary dependency information.
autoconf will add code to the configure script for initializing
pkg-config the first time it seems PKG_CHECK_MODULES, so make the
libnfnetlink check the first one in the script, so the initialization
code is run unconditionally.
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'libipq/ipq_get_packet.3')
0 files changed, 0 insertions, 0 deletions