Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Link with .la files for internal deps
When building libuninameslist with --enable-frenchlib and slibtool the build will fail when it can't find -luninameslist-fr. However if libuninameslist is already installed to the system it will compile successfully using the already installed version of uninameslist-fr.so instead of the locally built new library. This can be fixed by linking with the libtool archive (.la) instead as should be done for internal dependencies while -l linker flags should be only for external dependencies. Additionally I removed the now redundant DEPENDENCIES and LIBADD line. GNU libtool is less strict about user errors and will silently hide such issues. I missed this second issue until now when I fixed the previous issue in PR #24. Gentoo Bugs: https://bugs.gentoo.org/779670 https://bugs.gentoo.org/792474
- Loading branch information