From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 1 Nov 2013 18:48:24 +0100 Subject: [Buildroot] [PATCH 1/1] libcap: fix static linking issue In-Reply-To: <5251C3B0.7090105@openwide.fr> References: <5251C3B0.7090105@openwide.fr> Message-ID: <20131101184824.52140c8c@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Romain Naour, On Sun, 06 Oct 2013 22:10:24 +0200, Romain Naour wrote: > Add -fPIC flag > > Fixes: > http://autobuild.buildroot.net/results/619bceb3491ecd2ed4e1ae552fdb237a0ed2fa47/ > > Signed-off-by: Romain Naour I've just sent a patch which I believe is a better fix than this one. The problem was that libcap was building the shared library unconditionally. By adjusting the libcap build system, we can make it build only the static library, and therefore make things work properly. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com