diff mbox series

[v9,8/15] example: add missing libraries to LDADD variables

Message ID 1514948409-30862-9-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, 3 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: 49ebafae0edebbc750742d8874ad0a7588286dea
 ** Merge commit sha: 3bb30027436d5acc0d387f475d127a6f7ed86496
 **/
 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 = \