From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] mk: add build-time library directory to linker path Date: Fri, 29 Apr 2016 11:08:08 -0700 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 Cc: Tetsuya Mukawa , dev@dpdk.org, thomas.monjalon@6wind.com, huawei.xie@intel.com To: Panu Matilainen 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) Content-Disposition: inline In-Reply-To: <5721B124.7050404@igel.co.jp> 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" 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