From 9afb267cd98814efbae6eed15824ea8090758bb5 Mon Sep 17 00:00:00 2001 From: helge <helgewurst@web.de> Date: 周六, 06 11月 2021 07:05:16 +0800 Subject: [PATCH] bug fix: change netconn_write() argument from NETCONN_NOCOPY to NETCONN_COPY --- examples/test-tcp/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/test-tcp/Makefile b/examples/test-tcp/Makefile index 400e123..dcfa0b1 100644 --- a/examples/test-tcp/Makefile +++ b/examples/test-tcp/Makefile @@ -3,7 +3,7 @@ SRCS = main.c ../common/scpi-def.c CFLAGS += -Wextra -Wmissing-prototypes -Wimplicit -I ../../libscpi/inc/ -LDFLAGS += ../../libscpi/dist/libscpi.a -Wl,--as-needed +LDFLAGS += -lm ../../libscpi/dist/libscpi.a -Wl,--as-needed .PHONY: clean all -- Gitblit v1.9.1