Closed eyebrowsoffire closed 1 month ago
You could submit a new version (with a customary .bcr.1
suffix) and e.g. add a select
based on the target platform.
Please feel free to sent PRs! As the module contents aren't maintained centrally, this bug isn't going to be actionable. I'll go ahead and close it.
What happened?
It appears many of the module definitions add the
-lrt
linkopt explicitly in theirBUILD
file definition. See for example https://github.com/bazelbuild/bazel-central-registry/blob/8645666979c124eb30d1b20d85f0040b9f0d7b38/modules/websocketpp/0.8.2/patches/add_build_file.patch#L16This link option is only valid on Linux. Other platforms, such as macOS, this just causes a link failure.
Version
Development (host) and target OS/architectures: macOS 13.6.6 (22G630)
Output of
bazel --version
: bazel 7.1.2How to reproduce
In the MODULE.bazel file: