ector: include math library. 64/43264/1
authorChunEon Park <chuneon.park@samsung.com>
Wed, 4 Feb 2015 09:00:35 +0000 (18:00 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 8 Jul 2015 02:10:42 +0000 (11:10 +0900)
Change-Id: I06c070b1792930109958c66617738008864ed918

configure.ac
src/lib/ector/software/ector_software_gradient.c
src/lib/ector/software/sw_ft_math.c

index 9de2dca..a62495c 100644 (file)
@@ -1207,6 +1207,7 @@ EFL_INTERNAL_DEPEND_PKG([ECTOR], [eina])
 EFL_INTERNAL_DEPEND_PKG([ECTOR], [eo])
 EFL_INTERNAL_DEPEND_PKG([ECTOR], [efl])
 
+EFL_ADD_LIBS([ECTOR], [-lm])
 
 EFL_EVAL_PKGS([ECTOR])
 
index 4595482..bf2f8be 100644 (file)
@@ -6,6 +6,7 @@
 
 //Remove
 #include <assert.h>
+#include  <math.h>
 
 #define GRADIENT_STOPTABLE_SIZE 1024
 #define FIXPT_BITS 8
index cf65f7a..9b3894f 100755 (executable)
@@ -15,6 +15,7 @@
 /*                                                                         */\r
 /***************************************************************************/\r
 \r
+#include <math.h>\r
 #include "sw_ft_math.h"\r
 \r
 \r