From 24c16780e242428256a8136d8f7d3367160cc725 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Fri, 13 May 2022 09:51:10 +0800 Subject: [PATCH] libuv: Don't add idna.c to CSRCS if test enabled test-idna.c will include idna.c and then cause multiple definition. Signed-off-by: Huang Qi --- system/libuv/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/libuv/Makefile b/system/libuv/Makefile index 717d491c0..fe15c5479 100644 --- a/system/libuv/Makefile +++ b/system/libuv/Makefile @@ -69,7 +69,9 @@ CSRCS += posix-hrtime.c CSRCS += posix-poll.c CSRCS += uv-data-getter-setters.c CSRCS += version.c +ifneq ($(CONFIG_LIBUV_UTILS_TEST),) CSRCS += idna.c +endif CSRCS += no-fsevents.c CSRCS += uv-common.c CSRCS += strscpy.c