From patchwork Fri Jul 14 01:00:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 107714 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp228954qge; Thu, 13 Jul 2017 18:00:54 -0700 (PDT) X-Received: by 10.55.49.18 with SMTP id x18mr8583532qkx.248.1499994054756; Thu, 13 Jul 2017 18:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499994054; cv=none; d=google.com; s=arc-20160816; b=wAog4bkSeFUMACTMKaZwRTQPnhiyLlePN+dOMrJPnkG5Q6fFx/j5RGZ4lnq3GZ/oy9 5Nt97tNLpweeUcok1C1pLBylOL1Z0kyRVxnHA6uZeMYcgpOkMo76oFY/wPW0i9TcxuOl Ll2grU16dET98X0MpXtZFSA/seeC+B75qBMAPaVwqldcDQxE079m2J+MPnDy5ArVEft6 II1RoGJXTHDKZoEWteSzXIvo7wPueuJpUIljwIwDT/ukLg0MlaFMw+bkua26gE7B+Z4l OyFN+klRBEPF34fdqRPXF9sWpgERKvUiMdI5U67HALB5mXAdqREhYTnw0yWaKO9e9i0b L4Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=u/GKy+aQtuK1v8o9IOI+iml77LLi+nO7D/T8tE9uPE8=; b=rYxKU5s7audXjbFughoG3WznWhDOW1qj7dHtAQOfrdDxP+H+NO2MtQfB741ZuKyDvg N/CWYfPxrVvTCg335Q4Z8DqPUHUqvY7qifSnKk/RqL2fLJM1rlzZFvcMWCXOZbA3rYwh P5GZKvwAMNVq0WJzIjmpOKf+7mSWTj+iP3WiclUf/AAB5At9qju5QOzDWuCpY35QQmVN DA1STaT6BLSP5Ta6Q7Nr0YidJgNQ+vYDVG6i0shS0RSIzHbIbZ4p7G4CO6ASwi+zZVAe BsiugNZYMQlR8VsHASBIjheAHIZvZywE32gvF20qE33dcaI75Nz5AUunML429l1xkgSm 54og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id q40si6502968qtb.105.2017.07.13.18.00.54; Thu, 13 Jul 2017 18:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 7570665BD1; Fri, 14 Jul 2017 01:00:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, URIBL_BLOCKED, URIBL_SBL, URIBL_SBL_A autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id F185860AF7; Fri, 14 Jul 2017 01:00:25 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B852660AED; Fri, 14 Jul 2017 01:00:23 +0000 (UTC) Received: from forward4j.cmail.yandex.net (forward4j.cmail.yandex.net [5.255.227.22]) by lists.linaro.org (Postfix) with ESMTPS id A7E2E60666 for ; Fri, 14 Jul 2017 01:00:22 +0000 (UTC) Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [77.88.61.130]) by forward4j.cmail.yandex.net (Yandex) with ESMTP id EBE1E20CB8 for ; Fri, 14 Jul 2017 04:00:20 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id 6F2D62840ECA for ; Fri, 14 Jul 2017 04:00:20 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id LJm04B3qj8-0JD4TkEi; Fri, 14 Jul 2017 04:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 14 Jul 2017 04:00:07 +0300 Message-Id: <1499994007-21340-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499994007-21340-1-git-send-email-odpbot@yandex.ru> References: <1499994007-21340-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 76 Subject: [lng-odp] [PATCH v1 1/1] example: ipsec: fix build with OpenSSL located in non-standard path X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov 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 --- /** 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 --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