[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#922402: Bug #922402 in lintian marked as pending



On Sat, Feb 23, 2019 at 12:59:17PM -0800, Russ Allbery wrote:
> Roberto C. Sánchez <roberto@debian.org> writes:
> 
> > Here is the line from the pkg-config file:
> 
> > Libs: -L${libdir} -lbson-static-1.0  -lpthread -lgcc -lgcc_s -lc -lgcc
> > -lgcc_s /usr/lib/x86_64-linux-gnu/librt.so
> > /usr/lib/x86_64-linux-gnu/libm.so
> 
> For whatever it's worth, I personally would consider editing all of that
> out in the Debian packaging unless you're explicitly trying to support
> -nostdlib builds with that library.  The linker will add the correct
> version of that rune automatically by default, and providing it via
> pkg-config can sometimes cause issues if the handling of those libraries
> changes in the future.
> 
Russ,

That is very helpful indeed.  I will check with upstream to see if
-nostdlib support is the intent and will adjust the pkg-config script
accordingly.

Regards,

-Roberto
-- 
Roberto C. Sánchez


Reply to: