[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190115140620.16260b8c@cakuba.netronome.com>
Date: Tue, 15 Jan 2019 14:06:20 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Stanislav Fomichev <sdf@...gle.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, ast@...nel.org,
daniel@...earbox.net, quentin.monnet@...ronome.com
Subject: Re: [PATCH bpf v3] tools/bpf: properly account for libbfd
variations
On Tue, 15 Jan 2019 14:03:27 -0800, Stanislav Fomichev wrote:
> On some platforms, in order to link against libbfd, we need to
> link against liberty and even possibly libz. Account for that
> in the bpftool Makefile. We now have proper feature detection
> for each case, so handle each one separately.
>
> See recent commit 14541b1e7e72 ("perf build: Don't unconditionally link the
> libbfd feature test to -liberty and -lz") where I fixed feature
> detection.
>
> v2 (addressed Jakub's nits):
> * better syntax for 'else ifeq'
> * no space between ifeq args
> v3:
> * use LIBS, not EXTLIBS for -DHAVE_LIBBFD_SUPPORT
>
> Fixes: 29a9c10e4110 ("bpftool: make libbfd optional")
> Signed-off-by: Stanislav Fomichev <sdf@...gle.com>
Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Thanks!!
Powered by blists - more mailing lists