From 4e879901b51cbb43dab36dd83f95a23f1dbaa4c0 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周三, 01 2月 2023 18:27:00 +0800 Subject: [PATCH] Merge pull request #145 from j123b567/issue/117-allow-compilation-by-cxx --- 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