[Buildroot] [PATCH v3,1/1] package/libcap: fix libcap.pc

Peter Korsgaard peter at korsgaard.com
Tue Dec 1 22:02:14 UTC 2020


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > libcap builds an incorrect libcap.pc because libdir is pulled from the
 > host os:

 > ifndef lib
 > lib=$(shell ldd /usr/bin/ld|egrep "ld-linux|ld.so"|cut -d/ -f2)
 > endif

 > Fix this error by passing lib=lib and prefix in
 > {HOST_LIBCAP,LIBCAP}_BUILD_CMDS

 > Fixes:
 >  - https://bugs.buildroot.org/show_bug.cgi?id=13276

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
 > Reviewed-by: Peter Seiderer <ps.report at gmx.net>
 > ---
 > Changes v2 -> v3 (after review of Peter Seiderer):
 >  - Merge with initial patch that was not committed yet

 > Changes v1 -> v2:
 >  - Also fix host libcap

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list