[Buildroot] [PATCH 2/2] libcap: fix static link
Peter Korsgaard
jacmet at uclibc.org
Mon Nov 4 21:08:13 UTC 2013
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> With BR2_PREFER_STATIC_LINK, libcap fails to build:
The symbol is called BR2_PREFER_STATIC_LIB.
> http://autobuild.buildroot.net/results/619bceb3491ecd2ed4e1ae552fdb237a0ed2fa47/build-end.log
> This is due to the fact that it still tries to build a shared
> library. This commit fixes that by adding a patch that makes libcap
> provide install-shared/install-static targets. We also now only build
> the $(@D)/libcap subdirectory, so removing the build of the progs
> subdirectory is no longer needed.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
> .../libcap-02-split-static-shared-install.patch | 30 ++++++++++++++++++++++
Don't forget to send the patch upstream.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list