From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: fix static build without crypto Date: Fri, 11 Mar 2016 15:31:19 +0100 Message-ID: <2671046.UVfuQjPPBQ@xps13> References: <1457702980-26816-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Olivier Matz Return-path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 326312965 for ; Fri, 11 Mar 2016 15:33:04 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id l68so20541044wml.0 for ; Fri, 11 Mar 2016 06:33:04 -0800 (PST) In-Reply-To: <1457702980-26816-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-03-11 14:29, Olivier Matz: > If the experimental CONFIG_RTE_LIBRTE_CRYPTODEV is disabled, build of > any crypto pmds will fail because of the missing dependency. The commit > 94288d645 fixes the issue when compiled with shared libraries but there > is still an issue at link time with static libs: > > LD test > /usr/bin/ld: cannot find -lrte_pmd_null_crypto > collect2: error: ld returned 1 exit status > > Only add the -l linker flags related to crypto PMDs if CRYPTODEV is > enabled. > > Fixes: 94288d645 ("mk: fix build without crypto") > > Signed-off-by: Olivier Matz Applied, thanks