[Buildroot] [PATCH] package/cups: fix static linking with GnuTLS

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 2 08:13:49 UTC 2016


Dear Arnout Vandecappelle,

On Tue, 1 Mar 2016 23:54:59 +0100, Arnout Vandecappelle wrote:

>  Well, inside a package, it's the responsibility of the package build system to
> link with all required libraries (in the required order). That can either be
> handled by a helper like libtool, or the Makefile should handle it manually.
> 
>  In other words: I beliver Joerg's fix is the correct one.

As I said in my reply: the issue with Joerg fix is that in the dynamic
linking case, it creates useless additional NEEDED entries in the
binaries, which are not needed since those binaries are already linked
with libcups.so, which itself is linked with libgnutls.so.

Now whether it strongly matters can be discussed, but it is for sure
not very elegant.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list