Roberto C. Sánchez <[email protected]> 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 Allbery ([email protected])               <http://www.eyrie.org/~eagle/>

Reply via email to