diff mbox series

[v13,6/15] example: add missing libraries to LDADD variables

Message ID 1516010417-3323-7-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v13,1/15] helper: link against libpthread and libodp-linux | expand

Commit Message

Github ODP bot Jan. 15, 2018, 10 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


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: 634b380b63de53c65b92c214d91aaf03785d69db
 ** Merge commit sha: 9dbaba7b2769979792f04d62a6c8accf0c6b13df
 **/
 example/ipfragreass/Makefile.am | 2 ++
 example/ipsec/Makefile.am       | 1 +
 example/ipsec_api/Makefile.am   | 3 +++
 3 files changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/example/ipfragreass/Makefile.am b/example/ipfragreass/Makefile.am
index fa7d5c8bd..b98e066f8 100644
--- a/example/ipfragreass/Makefile.am
+++ b/example/ipfragreass/Makefile.am
@@ -1,5 +1,7 @@ 
 include $(top_srcdir)/example/Makefile.inc
 
+LDADD += $(ATOMIC_LIBS)
+
 bin_PROGRAMS = odp_ipfragreass
 
 odp_ipfragreass_SOURCES = odp_ipfragreass.c \
diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am
index 85905ffa7..eba9b8bda 100644
--- a/example/ipsec/Makefile.am
+++ b/example/ipsec/Makefile.am
@@ -1,6 +1,7 @@ 
 include $(top_srcdir)/example/Makefile.inc
 
 AM_CPPFLAGS = $(OPENSSL_CPPFLAGS)
+LDADD += $(OPENSSL_LIBS)
 
 bin_PROGRAMS = odp_ipsec
 
diff --git a/example/ipsec_api/Makefile.am b/example/ipsec_api/Makefile.am
index 847326fc0..14bc5dd66 100644
--- a/example/ipsec_api/Makefile.am
+++ b/example/ipsec_api/Makefile.am
@@ -1,5 +1,8 @@ 
 include $(top_srcdir)/example/Makefile.inc
 
+AM_CPPFLAGS = $(OPENSSL_CPPFLAGS)
+LDADD += $(OPENSSL_LIBS)
+
 bin_PROGRAMS = odp_ipsec
 
 dist_bin_SCRIPTS = \