mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-12-04 08:02:31 +00:00
7baefc1a8c
* Build files for autotools tools * m4 1.4.19
26 lines
566 B
Plaintext
26 lines
566 B
Plaintext
"""libiconv is only expected to be used on MacOS systems"""
|
|
|
|
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",
|
|
],
|
|
env = {"AR": ""},
|
|
lib_source = "@iconv_macos//:all",
|
|
out_static_libs = [
|
|
"libiconv.a",
|
|
],
|
|
targets = ["install-lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|