From: Tetsuya Mukawa <mukawa@igel.co.jp>
To: Panu Matilainen <pmatilai@redhat.com>, dev@dpdk.org
Cc: thomas.monjalon@6wind.com, yuanhan.liu@linux.intel.com,
huawei.xie@intel.com
Subject: Re: [dpdk-dev] [PATCH] mk: add build-time library directory to linker path
Date: Thu, 28 Apr 2016 15:43:48 +0900 [thread overview]
Message-ID: <5721B124.7050404@igel.co.jp> (raw)
In-Reply-To: <d2db848a33ed5bd541fbaa062878a10c77977b93.1461754929.git.pmatilai@redhat.com>
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>
next prev parent reply other threads:[~2016-04-28 6:43 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 [this message]
2016-04-29 18:08 ` Yuanhan Liu
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=5721B124.7050404@igel.co.jp \
--to=mukawa@igel.co.jp \
--cc=dev@dpdk.org \
--cc=huawei.xie@intel.com \
--cc=pmatilai@redhat.com \
--cc=thomas.monjalon@6wind.com \
--cc=yuanhan.liu@linux.intel.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).