From d3791ec0dae95c70578b3a621b1a9ef41d7c0b2e Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Wed, 22 Apr 2026 17:17:44 +0300 Subject: [PATCH] Update linking order to ensure math library is resolved --- examples/mnist/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mnist/Makefile b/examples/mnist/Makefile index f4b5d1f8..764c110f 100644 --- a/examples/mnist/Makefile +++ b/examples/mnist/Makefile @@ -32,7 +32,7 @@ SRCDIRS := . CFLAGS += $(shell sdl2-config --cflags) CXXFLAGS += $(shell sdl2-config --cflags) LIBDIRS += -LIBS += $(shell sdl2-config --libs) -lm -lSDL2_gfx +LIBS += $(shell sdl2-config --libs) -lSDL2_gfx -lm sinclude ../../src/onnx.mk OUTPUT := output