From 5e97faee89d79c2b7a7867944ee7c1105a1c10c1 Mon Sep 17 00:00:00 2001
From: sola.lu <sola.lu@greentest.com.cn>
Date: 周五, 11 4月 2025 17:30:50 +0800
Subject: [PATCH] 1. 注释动态库生成

---
 examples/test-parser/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/test-parser/Makefile b/examples/test-parser/Makefile
index 400e123..dcfa0b1 100644
--- a/examples/test-parser/Makefile
+++ b/examples/test-parser/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