stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4a59fc4eb5465d96e8b1ca7b7e1e72c23e0cd422

commit 4a59fc4eb5465d96e8b1ca7b7e1e72c23e0cd422
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Mon Jun 13 11:08:46 2016 +0200

    benchmark: eo: add missing phthread flag to linker
    
    /usr/bin/ld: class_simple.o: undefined reference to symbol 
'pthread_spin_trylock@@GLIBC_2.2.5'
    //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing 
from command line
---
 src/benchmarks/eo/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/benchmarks/eo/Makefile.am b/src/benchmarks/eo/Makefile.am
index 9fa4c1e..a2aac48 100644
--- a/src/benchmarks/eo/Makefile.am
+++ b/src/benchmarks/eo/Makefile.am
@@ -25,7 +25,8 @@ eo_bench_eo_add.c
 eo_bench_LDADD = \
 $(top_builddir)/src/lib/eo/libeo.la \
 $(top_builddir)/src/lib/eina/libeina.la \
-@EO_LDFLAGS@
+@EO_LDFLAGS@ \
+-lpthread
 
 clean-local:
        rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda

-- 


Reply via email to