From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A9552530C for ; Fri, 29 Apr 2016 20:05:50 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 29 Apr 2016 11:05:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,552,1455004800"; d="scan'208";a="694422161" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by FMSMGA003.fm.intel.com with ESMTP; 29 Apr 2016 11:05:17 -0700 Date: Fri, 29 Apr 2016 11:08:08 -0700 From: Yuanhan Liu To: Panu Matilainen Cc: Tetsuya Mukawa , dev@dpdk.org, thomas.monjalon@6wind.com, huawei.xie@intel.com Message-ID: <20160429180808.GI5641@yliu-dev.sh.intel.com> References: <5721B124.7050404@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5721B124.7050404@igel.co.jp> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] mk: add build-time library directory to linker path X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2016 18:05:51 -0000 On Thu, Apr 28, 2016 at 03:43:48PM +0900, Tetsuya Mukawa wrote: > On 2016/04/27 20:02, Panu Matilainen wrote: > > This is a pre-requisite for adding DT_NEEDED dependencies > > between internal libraries. > > > > Signed-off-by: Panu Matilainen > > --- > > mk/rte.lib.mk | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk > > index 8f7e021..b420280 100644 > > --- a/mk/rte.lib.mk > > +++ b/mk/rte.lib.mk > > @@ -86,8 +86,8 @@ O_TO_A_DO = @set -e; \ > > $(O_TO_A) && \ > > echo $(O_TO_A_CMD) > $(call exe2cmd,$(@)) > > > > -O_TO_S = $(LD) $(_CPU_LDFLAGS) $(EXTRA_LDFLAGS) -shared $(OBJS-y) $(LDLIBS) \ > > - -Wl,-soname,$(LIB) -o $(LIB) > > +O_TO_S = $(LD) -L$(RTE_OUTPUT)/lib $(_CPU_LDFLAGS) $(EXTRA_LDFLAGS) \ > > + -shared $(OBJS-y) $(LDLIBS) -Wl,-soname,$(LIB) -o $(LIB) > > O_TO_S_STR = $(subst ','\'',$(O_TO_S)) #'# fix syntax highlight > > O_TO_S_DISP = $(if $(V),"$(O_TO_S_STR)"," LD $(@)") > > O_TO_S_DO = @set -e; \ > Tested-by: Tetsuya Mukawa Applied to dpdk-next-virtio. Thanks. --yliu