diff mbox series

[v9,1/15] helper: link against libpthread and libodp-linux

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

Commit Message

Github ODP bot Jan. 3, 2018, 2:59 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: 3bb30027436d5acc0d387f475d127a6f7ed86496
 **/
 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