diff mbox series

[v1,1/1] example: ipsec: fix build with OpenSSL located in non-standard path

Message ID 1499994007-21340-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v1,1/1] example: ipsec: fix build with OpenSSL located in non-standard path | expand

Commit Message

Github ODP bot July 14, 2017, 1 a.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


IPsec example uses OpenSSL directly to generate packages stream. Thus
use $(OPENSSL_CPPFLAGS) and $(OPENSSL_LIBS) to let compiler find OpenSSL
if it is present in non-standard location.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 76 (lumag:fix-openssl)
 ** https://github.com/Linaro/odp/pull/76
 ** Patch: https://github.com/Linaro/odp/pull/76.patch
 ** Base sha: 490f4bf22129638899ce71c99a8847e8ba849692
 ** Merge commit sha: 51a95670c828e0fb5546b9be0995dc0b262a9060
 **/
 example/ipsec/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am
index 01ccd426..fd9b3c72 100644
--- a/example/ipsec/Makefile.am
+++ b/example/ipsec/Makefile.am
@@ -1,5 +1,7 @@ 
 include $(top_srcdir)/example/Makefile.inc
 
+AM_CPPFLAGS = $(OPENSSL_CPPFLAGS)
+
 bin_PROGRAMS = odp_ipsec$(EXEEXT)
 odp_ipsec_LDFLAGS = $(AM_LDFLAGS) -static
 odp_ipsec_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example