Add -lm for Android.
authorZhang Xianyi <xianyi@perfxlab.com>
Thu, 24 May 2018 12:56:24 +0000 (20:56 +0800)
committerZhang Xianyi <xianyi@perfxlab.com>
Thu, 24 May 2018 13:02:42 +0000 (21:02 +0800)
Conflicts:
exports/Makefile

exports/Makefile

index 53d4f75..127b050 100644 (file)
@@ -128,6 +128,8 @@ so : ../$(LIBSONAME)
 
 ifeq ($(OSNAME), Android)
 INTERNALNAME = $(LIBPREFIX).so
+FEXTRALIB += -lm
+EXTRALIB += -lm
 else
 INTERNALNAME = $(LIBPREFIX).so.$(MAJOR_VERSION)
 endif