From b9c30cdba636faf528b4599b62628857303ef583 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周一, 15 3月 2021 15:59:34 +0800
Subject: [PATCH] Merge pull request #121 from ferdymercury/patch-1

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