Bug#922511: pkg-config-references-unknown-shared-library false positive when using variables
Package: lintian
Version: 2.7.0
Severity: normal
Hi there,
jemalloc's pc has this:
  [...]
  install_suffix=
  [...]
  Libs: -L${libdir} -ljemalloc${install_suffix}
(install_suffix is autoconf-interpolated at build time, so there is a
reason it exists despite being purposefully empty in Debian)
pkg-config seems entirely happy with that, but lintian complains:
 W: libjemalloc-dev: pkg-config-references-unknown-shared-library
    usr/lib/x86_64-linux-gnu/pkgconfig/jemalloc.pc
    -ljemalloc${install_suffix} (line 12)
I'm far from a pkg-config or lintian expert, but I think this is a false
positive, resulting from lintian's inability to interpolate pkg-config
variables before its check.
Regards,
Faidon
Reply to: