Link with -lm.

This is not strictly necessary since the main executable should provide
the symbols, but it may increase compatibility with other source ports
and underlinking is never a good idea.
This commit is contained in:
Yamagi Burmeister 2019-05-13 17:09:49 +02:00
parent e16436efe2
commit d6f8caed07

View file

@ -111,7 +111,7 @@ LDFLAGS := -shared -arch i386 -arch x86_64
else ifeq ($(OSTYPE), Windows)
LDFLAGS := -shared -static-libgcc
else
LDFLAGS := -shared
LDFLAGS := -shared -lm
endif
# ----------