2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-28 08:43:26 +00:00
rules_foreign_cc/examples/third_party/iconv/BUILD.iconv.bazel
James Sharpe 7baefc1a8c
Autotools examples (#754)
* Build files for autotools tools
* m4 1.4.19
2021-11-19 00:56:08 +00:00

23 lines
477 B
Plaintext

load("@rules_foreign_cc//foreign_cc:defs.bzl", "configure_make")
filegroup(
name = "all",
srcs = glob(["**"]),
)
configure_make(
name = "iconv",
configure_in_place = True,
configure_options = [
"--enable-relocatable",
"--enable-shared=no",
"--enable-static=yes",
],
lib_source = "@iconv//:all",
out_static_libs = [
"libiconv.a",
],
targets = ["install-lib"],
visibility = ["//visibility:public"],
)