blob: 98d7a801ac84b8ec259d66fcde80fd3f11d4c72e [file] [log] [blame]
#
# musl specific configuration
#
LIBCEXTENSION = "-musl"
LIBCOVERRIDE = ":libc-musl"
PREFERRED_PROVIDER_virtual/libc ?= "musl"
PREFERRED_PROVIDER_virtual/libiconv ?= "musl"
PREFERRED_PROVIDER_virtual/libintl ?= "musl"
PREFERRED_PROVIDER_virtual/crypt ?= "musl"
PREFERRED_PROVIDER_virtual/libc-locale ?= "musl-locales"
PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
#USE_NLS ?= "no"
CXXFLAGS += "-fvisibility-inlines-hidden"
LIBC_DEPENDENCIES = "\
musl \
musl-dbg \
musl-dev \
musl-utils \
musl-utils-iconv \
bsd-headers-dev \
"