Skip to contentSkip to conversation

libnftnl.pc lacks dependency from libmnl

DISCUSSION [email protected] 2 participants 2 messages Jun 27, 2014 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I've noticed that the pkg-config file libnftnl.pc installed by the library package misses the dependency from libmnl in the 'Required:' line.

# cat libnftnl.pc.in
# libnftnl pkg-config file

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: libnftnl
Description: Netfilter nf_tables infrastructure library
URL: http://netfilter.org/projects/libnftnl/
Version: @VERSION@
Requires: <=== this line
Conflicts:
Libs: -L${libdir} -lnftnl
Cflags: -I${includedir}

giorgio

#1 lore raw
Quoted 6 lines · On Friday 2014-06-27 11:16, [email protected] wrote:

Hi,

I've noticed that the pkg-config file libnftnl.pc installed by the library package misses the dependency from libmnl in the 'Required:' line.

Quoted 8 lines
# cat libnftnl.pc.in
# libnftnl pkg-config file
[...]
Name: libnftnl
Description: Netfilter nf_tables infrastructure library
URL: http://netfilter.org/projects/libnftnl/
Version: @VERSION@
Requires:                                                             <=== this line

This seems correct, as the libmnl development files do not appear to be needed to write a libnftnl program.