From 1d147a1722e89b7174a9ff37e81ca619a87f31b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 20 Sep 2013 13:48:48 +0000 Subject: main/busybox: use CLIBC --- main/busybox/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/busybox') diff --git a/main/busybox/APKBUILD b/main/busybox/APKBUILD index b68921da3a..e89ad7bf72 100644 --- a/main/busybox/APKBUILD +++ b/main/busybox/APKBUILD @@ -54,7 +54,7 @@ build() { -e "s/.*CONFIG_STATIC.*/CONFIG_STATIC=y/" \ "$_config" > .config # musl does not support GNU regex - [ "${CTARGET#*musl}" != "$CTARGET" ] && sed -i \ + [ "$CLIBC" = musl ] && sed -i \ -e "s/CONFIG_EXTRA_COMPAT=y/CONFIG_EXTRA_COMPAT=n/" \ .config make -C "$_sdir" O="$PWD" silentoldconfig || return 1 @@ -65,7 +65,7 @@ build() { cd "$_dyndir" msg "Building dynamic busybox" cp "$_config" .config - [ "${CTARGET#*musl}" != "$CTARGET" ] && sed -i \ + [ "$CLIBC" = musl ] && sed -i \ -e "s/CONFIG_EXTRA_COMPAT=y/CONFIG_EXTRA_COMPAT=n/" \ .config make -C "$_sdir" O="$PWD" silentoldconfig || return 1 -- cgit v1.2.3