summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-06-13 10:23:16 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-06-13 12:01:13 +0200
commit0dabbdeabc0079d6bf6be95ba10d44c5c7f2574a (patch)
treed54400c4da94f5007d29ae7fc5b74c61b86aaaf5
parentdffaed3486d988522076fb8faf9c47202bc124ab (diff)
downloadefl-0dabbdeabc0079d6bf6be95ba10d44c5c7f2574a.tar.gz
examples: elementary: ad missing math lib to linker flags
We are using cos() and sin() in the efl_thread examples here but never linked to the math lib. Ubuntu 14.04 on Travis CI errored out with this: /usr/bin/ld: efl_thread_1.o: undefined reference to symbol 'cos@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
-rw-r--r--src/examples/elementary/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/examples/elementary/Makefile.am b/src/examples/elementary/Makefile.am
index 5aacd7fbb2..2cdb3908ab 100644
--- a/src/examples/elementary/Makefile.am
+++ b/src/examples/elementary/Makefile.am
@@ -45,6 +45,7 @@ AM_CXXFLAGS = \
LDADD = \
@ELEMENTARY_LDFLAGS@ \
+-lm \
$(top_builddir)/src/lib/eina/libeina.la \
$(top_builddir)/src/lib/eo/libeo.la \
$(top_builddir)/src/lib/eet/libeet.la \