summaryrefslogtreecommitdiff
path: root/tools/crypto
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2019-01-15 14:03:27 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-01-16 00:53:48 +0100
commit6e8ccb4f624a73c56fc6ef0c45bcf91ca80703c3 (patch)
tree66bc63bf78c2fdca642245766f5ece7e0abb7b63 /tools/crypto
parent86edaed379632e216a97e6bcef9f498b64522d50 (diff)
tools/bpf: properly account for libbfd variations
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@google.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/crypto')
0 files changed, 0 insertions, 0 deletions