Skip to content

Use system libs for acl and libcap2 on ebclfsa and autosd10 platforms#212

Open
4og wants to merge 1 commit into
mainfrom
4og_system_libs
Open

Use system libs for acl and libcap2 on ebclfsa and autosd10 platforms#212
4og wants to merge 1 commit into
mainfrom
4og_system_libs

Conversation

@4og
Copy link
Copy Markdown
Member

@4og 4og commented May 22, 2026

This pull request adds support for building against system-installed versions of the acl and libcap2 libraries when specific Bazel platform constraints are set. It introduces new configuration settings and updates the build rules to allow for selection between system and bundled versions of these libraries.

Build system enhancements:

  • Added new configuration settings (ebclfsa and autosd10) and a use_system_libs config setting group in third_party/BUILD to enable conditional use of system libraries based on Bazel platform constraints.

Library selection improvements:

  • In third_party/acl/BUILD, added a cc_library target (acl_system) that links against the system acl library (-lacl), and updated the acl alias to select this target when use_system_libs is enabled.
  • In third_party/libcap2/BUILD, added a cc_library target (libcap2_system) that links against the system libcap2 library (-lcap), and updated the libcap2 alias to select this target when use_system_libs is enabled.

@github-actions
Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant