Closed orbea closed 3 years ago
This is also described in the automake documentation.
We recommend that you avoid using -l options in LDADD or prog_LDADD when referring to libraries built by your package. Instead, write the file name of the library explicitly as in the above cpio example. Use -l only to list third-party libraries. If you follow this rule, the default value of prog_DEPENDENCIES will list all your local libraries and omit the other ones.
https://www.gnu.org/software/automake/manual/html_node/Linking.html
Of course. This must have been a leftover from some earlier build versions (without libtool)
When building ldns with slibtool (https://dev.midipix.org/cross/slibtool) it fails.
This is because the build links the interneal dependency
libldns
with-lldns
when it should be linking with thelibldns.la
libtool archive as the libtool documentation suggests. This ensures that both slibtool and GNU libtool which is far more permissive compiles. This PR fixes at least the cases in theMakefile.in
file.Also see this downstream issue: https://bugs.gentoo.org/778794