perf build: Give better hint about devel package for libssl
In debian/ubuntu its libssl-dev, but for fedora/RHEL/Centos/etc its openssl-devel, fix it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Cc: Wang Nan <wangnan0@huawei.com> Fixes: 8ee4646038e4 ("perf build: Add libcrypto feature detection") Link: https://lkml.kernel.org/n/tip-lnxqszts6aq2c9jy4b7mlnym@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
e8e94fce14
commit
54fceb0baf
@ -588,7 +588,7 @@ endif
|
|||||||
|
|
||||||
ifndef NO_LIBCRYPTO
|
ifndef NO_LIBCRYPTO
|
||||||
ifneq ($(feature-libcrypto), 1)
|
ifneq ($(feature-libcrypto), 1)
|
||||||
msg := $(warning No libcrypto.h found, disables jitted code injection, please install libssl-devel or libssl-dev);
|
msg := $(warning No libcrypto.h found, disables jitted code injection, please install openssl-devel or libssl-dev);
|
||||||
NO_LIBCRYPTO := 1
|
NO_LIBCRYPTO := 1
|
||||||
else
|
else
|
||||||
CFLAGS += -DHAVE_LIBCRYPTO_SUPPORT
|
CFLAGS += -DHAVE_LIBCRYPTO_SUPPORT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user