** POTENTIAL FRAUD ALERT - RED HAT ** building static libs

Frank Ch. Eigler fche@redhat.com
Sat Oct 31 19:52:53 GMT 2020


Hi -


> I'd like to build, just as an example, libdebuginfod as ONLY a static
> library and link it statically with debuginfod, gdb, etc.

libdebuginfod relies on a bunch of other libraries (curl and all of
its dependencies), so a libdebuginfod.a is unlikely to buy you much.

OTOH, libtool is one way to arrange building both .a and .so's from
such libraries, and propagate dependencies via the .la files.

- FChE



More information about the Elfutils-devel mailing list