From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: Panu Matilainen <pmatilai@redhat.com>
Cc: Tetsuya Mukawa <mukawa@igel.co.jp>,
dev@dpdk.org, thomas.monjalon@6wind.com, huawei.xie@intel.com
Subject: Re: [dpdk-dev] [PATCH] mk: add build-time library directory to linker path
Date: Fri, 29 Apr 2016 11:08:08 -0700 [thread overview]
Message-ID: <20160429180808.GI5641@yliu-dev.sh.intel.com> (raw)
In-Reply-To: <5721B124.7050404@igel.co.jp>
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 <pmatilai@redhat.com>
> > ---
> > 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 <mukawa@igel.co.jp>
Applied to dpdk-next-virtio.
Thanks.
--yliu
prev parent reply other threads:[~2016-04-29 18:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-27 11:02 Panu Matilainen
2016-04-28 6:43 ` Tetsuya Mukawa
2016-04-29 18:08 ` Yuanhan Liu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160429180808.GI5641@yliu-dev.sh.intel.com \
--to=yuanhan.liu@linux.intel.com \
--cc=dev@dpdk.org \
--cc=huawei.xie@intel.com \
--cc=mukawa@igel.co.jp \
--cc=pmatilai@redhat.com \
--cc=thomas.monjalon@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).