stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=0dabbdeabc0079d6bf6be95ba10d44c5c7f2574a

commit 0dabbdeabc0079d6bf6be95ba10d44c5c7f2574a
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Mon Jun 13 10:23:16 2016 +0200

    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
---
 src/examples/elementary/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/examples/elementary/Makefile.am 
b/src/examples/elementary/Makefile.am
index 5aacd7f..2cdb390 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 \

-- 


Reply via email to