Bug 13276

Summary: libcap builds libcap.pc incorreclty
Product: buildroot Reporter: anthonysepa
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: 2020.05.3   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description anthonysepa 2020-10-16 00:47:11 UTC
lipcap build also requires lib=lib in the LIBCAP_BUILD_CMDS or it pulls the lib from the host os. I would suggest removing the lib=lib from the libcap.mk and adding a patch to fix Make.Rules file instead.
Comment 1 Thomas Petazzoni 2020-10-16 07:45:25 UTC
Thanks for the report! Since it seems you have investigated the issue and found a solution, do you think you could send a patch to the Buildroot mailing list to fix it ? Thanks!
Comment 2 anthonysepa 2020-10-16 20:04:51 UTC
Sure, I'll educate myself on how to do that.
Comment 3 Peter Korsgaard 2020-12-01 22:13:13 UTC
Fixed on master, thanks:

https://git.buildroot.org/buildroot/commit/?id=07f8ea39139299c83777a338a30cd480633d5706