diff mbox series

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

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

Commit Message

Github ODP bot Dec. 31, 2017, 2 p.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: c3c3d9bb30ca8163f6b798b41a3b55de01591a1a
 **/
 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 = \