mirror of
https://github.com/yquake2/xatrix.git
synced 2024-11-10 06:42:22 +00:00
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:
parent
e16436efe2
commit
d6f8caed07
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
# ----------
|
||||
|
|
Loading…
Reference in a new issue