diff mbox series

[v11,1/13] helper: link against libpthread and libodp-linux

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

Commit Message

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