Skip to content
Snippets Groups Projects
Commit 282b0f85 authored by rswindell's avatar rswindell
Browse files

Added -lm to include math libraries in Unix builds (required for jslib.a).

parent 86372053
No related branches found
No related tags found
No related merge requests found
......@@ -67,12 +67,12 @@ ifdef DEBUG
CFLAGS := $(CFLAGS) -g -O0 -D_DEBUG
LIBODIR := $(LIBODIR).debug
EXEODIR := $(EXEODIR).debug
LIBS := $(LIBS) ../mozilla/js/src/Linux_All_DBG.OBJ/libjs.a
LIBS := $(LIBS) -lm ../mozilla/js/src/Linux_All_DBG.OBJ/libjs.a
else
LFLAGS := $(LFLAGS) -S
LIBODIR := $(LIBODIR).release
EXEODIR := $(EXEODIR).release
LIBS := $(LIBS) ../mozilla/js/src/Linux_All_OPT.OBJ/libjs.a
LIBS := $(LIBS) -lm ../mozilla/js/src/Linux_All_OPT.OBJ/libjs.a
endif
include targets.mak # defines all targets
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment