bug#78411: LDADD vs. LDFLAGS

2025-05-14 Thread Karl Berry
If you need to link against libraries that are not found by @command{configure}, you can use @code{LDADD} to do so. This variable is -used to specify additional objects or libraries to link with; it is -inappropriate for specifying specific linker flags; you should use -@code

bug#78411: LDADD vs. LDFLAGS

2025-05-13 Thread Bruno Haible via Bug reports for Automake
The first paragraph in https://www.gnu.org/software/automake/manual/html_node/Linking.html can be interpreted in a misleading way: "If you need to link against libraries that are not found by configure, you can use LDADD to do so. This variable is used to specify additional objects or libr