libcap: fix static link
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Nov 2013 17:47:27 +0000 (18:47 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 4 Nov 2013 20:55:54 +0000 (21:55 +0100)
commitc016a48b99759164375bcbb99f555c293b042245
tree52191c8a66c50c123b67ca48948d80b6e6f4c081
parent2bea7b8c381fa7c62f40f63f9e9f80e530fa9f3a
libcap: fix static link

With BR2_PREFER_STATIC_LIB, libcap fails to build:

  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.

[Peter: fixup description]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libcap/libcap-02-split-static-shared-install.patch [new file with mode: 0644]
package/libcap/libcap.mk