Don't link with libgadu unnecessarily
Review Request #2684 — Created Oct. 23, 2023 and submitted — Latest diff uploaded
The default if-found action of
AC_CHECK_LIB
is to add the library toLIBS
,
but that means it's used for all linking. So a GPL-compliant libgadu gets
linked with libpurple, finch, pidgin, and all plugins instead of just the
protocol plugin.
Compiled and checked that there was no
libgadu.so
inldd libpurple.so
and a few other built things, but it was still there for the Gadu-Gadu protocol plugin.