2021-06-11 09:03:47 +03:00
|
|
|
load("@bazel-zig-cc//toolchain:defs.bzl", "zig_build_macro")
|
2021-06-10 09:42:26 +03:00
|
|
|
|
2021-06-10 13:02:35 +03:00
|
|
|
package(
|
2021-06-10 13:12:54 +03:00
|
|
|
default_visibility = ["//visibility:public"],
|
2021-06-10 09:42:26 +03:00
|
|
|
)
|
|
|
|
|
2021-06-10 13:02:35 +03:00
|
|
|
zig_build_macro(
|
2021-07-12 09:45:23 +03:00
|
|
|
absolute_path = {absolute_path},
|
2021-08-04 15:04:14 +03:00
|
|
|
glibc_version = {glibc_version},
|
2021-07-12 09:45:23 +03:00
|
|
|
zig_include_root = {zig_include_root},
|
2021-06-10 09:42:26 +03:00
|
|
|
)
|
2021-07-28 23:42:28 +03:00
|
|
|
|
2021-08-04 15:04:14 +03:00
|
|
|
exports_files([
|
|
|
|
"glibc-hacks/fcntl.map",
|
|
|
|
"glibc-hacks/glibchack-fcntl.h",
|
|
|
|
])
|