commit | cf47f90090121509d868fac04615626c3ad9a55b | [log] [tgz] |
---|---|---|
author | Yannic Bonenberger <contact@yannic-bonenberger.com> | Thu Nov 12 06:13:14 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Nov 12 06:14:40 2020 -0800 |
tree | ba2d052c99c4007d35b902ceac4d47bd516e9af8 | |
parent | 7acf9ea3fea4850d21114d84fbc5b663d105d3c7 [diff] |
Add -install_name when linking shared libraries on macOS This change exposes the name of the solib symlink available at runtime to link actions and uses that name to set the `-install_name` of shared libraries on macOS. Exposing the runtime solib name to link actions allows us to remove the need for the cc_wrapper script that patched the binary on macOS (which relied on the fact that the runtime solibs are symlinks locally, which is not true in all cases). Updates #7415 Closes #12304. PiperOrigin-RevId: 342033474
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md