diff mbox series

[v1,1/8] helper: link against libpthread and libodp-linux

Message ID 1514685607-28718-2-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v1,1/8] helper: link against libpthread and libodp-linux | expand

Commit Message

Github ODP bot Dec. 31, 2017, 2 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


libodphelper.so uses symbols from libpthread and libodp-linux.so, link
it aganst those libraries.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 377 (lumag:misc-fixes)
 ** https://github.com/Linaro/odp/pull/377
 ** Patch: https://github.com/Linaro/odp/pull/377.patch
 ** Base sha: 49ebafae0edebbc750742d8874ad0a7588286dea
 ** Merge commit sha: 0de89276a60782272cef8b93fc3dcb647cfc52fb
 **/
 helper/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/helper/Makefile.am b/helper/Makefile.am
index ee1c17d6d..ebb67346c 100644
--- a/helper/Makefile.am
+++ b/helper/Makefile.am
@@ -10,6 +10,7 @@  AM_CPPFLAGS = \
 	-I$(top_srcdir)/platform/@with_platform@/include \
 	-I$(top_srcdir)/platform/@with_platform@/arch/@ARCH_DIR@ \
 	-I$(top_builddir)/include
+AM_CFLAGS = $(PTHREAD_CFLAGS)
 
 AM_LDFLAGS = -version-number '$(ODPHELPER_LIBSO_VERSION)'
 
@@ -60,4 +61,6 @@  __LIB__libodphelper_la_SOURCES += \
 				linux/thread.c
 endif
 
+__LIB__libodphelper_la_LIBADD = $(PTHREAD_LIBS) $(LIB)/libodp-linux.la
+
 lib_LTLIBRARIES = $(LIB)/libodphelper.la