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 <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2022-05-13 09:51:10 +08:00 committed by Petro Karashchenko
parent 59fc69c453
commit 24c16780e2

View File

@ -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