
`iconv` is a bit of weird virtual because the only shared API between `glibc` and `libiconv` is: ``` iconv iconv_open iconv_close ``` whereas `libiconv` has further symbols [iconvctl](https://www.gnu.org/software/libiconv/documentation/libiconv-1.17/iconvctl.3.html), [iconv_open_into](https://www.gnu.org/software/libiconv/documentation/libiconv-1.17/iconv_open_into.3.html), and an `iconv` executable and `libcharset.so`. Packages that need those will have to do `depends_on("[virtuals=iconv] libiconv")`.
20 lines
709 B
YAML
20 lines
709 B
YAML
# -------------------------------------------------------------------------
|
|
# This file controls default concretization preferences for Spack.
|
|
#
|
|
# Settings here are versioned with Spack and are intended to provide
|
|
# sensible defaults out of the box. Spack maintainers should edit this
|
|
# file to keep it current.
|
|
#
|
|
# Users can override these settings by editing the following files.
|
|
#
|
|
# Per-spack-instance settings (overrides defaults):
|
|
# $SPACK_ROOT/etc/spack/packages.yaml
|
|
#
|
|
# Per-user settings (overrides default and site settings):
|
|
# ~/.spack/packages.yaml
|
|
# -------------------------------------------------------------------------
|
|
packages:
|
|
all:
|
|
providers:
|
|
iconv: [glibc, musl, libiconv]
|