examples/Makefile: libm is not added by default by all

-lm has to be added for system/compilers that don't add the lib by
default (the case on NetBSD).
This commit is contained in:
Thierry LARONDE 2025-01-10 20:18:06 +01:00
parent 6d65a609e5
commit 31c3400f23

View File

@ -15,7 +15,7 @@
CFLAGS = -g $(CPPFLAGS)
#CFLAGS = -g -fsanitize=address $(CPPFLAGS)
CPPFLAGS = -I.. -I/usr/local/include
LIBS = -L.. -L/usr/local/lib -lpdfio -lz
LIBS = -L.. -L/usr/local/lib -lpdfio -lz -lm
# Targets