Bug 13276 - libcap builds libcap.pc incorreclty
Summary: libcap builds libcap.pc incorreclty
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2020.05.3
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-16 00:47 UTC by anthonysepa
Modified: 2020-12-01 22:13 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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