mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-12-01 22:16:27 +00:00
aa61b9ad8b
* Remove `BUILD` files from source globs in examples * Updated example urls
21 lines
442 B
Plaintext
21 lines
442 B
Plaintext
load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make")
|
|
|
|
filegroup(
|
|
name = "all_srcs",
|
|
srcs = glob(
|
|
include = ["**"],
|
|
exclude = ["*.bazel"],
|
|
),
|
|
)
|
|
|
|
configure_make(
|
|
name = "sqlite",
|
|
env = select({
|
|
"@platforms//os:macos": {"AR": ""},
|
|
"//conditions:default": {},
|
|
}),
|
|
lib_source = ":all_srcs",
|
|
out_static_libs = ["libsqlite3.a"],
|
|
visibility = ["//visibility:public"],
|
|
)
|