From acea2403a329321ced706e8d0749c0b939e0c1b0 Mon Sep 17 00:00:00 2001 From: lexborisov Date: Wed, 1 Mar 2017 16:16:25 +0300 Subject: [PATCH] Added -lm --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b49ff1..d6e13bc 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ include $(TARGET)/modest/Makefile.mk OBJS := $(patsubst %.c,%.o,$(SRCS)) shared: $(OBJS) - $(CC) -shared $(IMP_FLAG) $(LDFLAGS) $(OBJS) -o $(LIB_TMP)/lib$(LIBNAME)$(LIBPOSTFIX) + $(CC) -shared $(IMP_FLAG) $(LDFLAGS) $(OBJS) -o $(LIB_TMP)/lib$(LIBNAME)$(LIBPOSTFIX) -lm static: shared $(AR) crus $(LIB_TMP)/lib$(LIBNAME)$(LIBSTATIC_POSTFIX).a $(OBJS)