summaryrefslogtreecommitdiffhomepage
path: root/auto/os
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-12-13 17:06:53 +0000
committerAndrew Clayton <a.clayton@nginx.com>2024-12-13 17:22:01 +0000
commitae20ab0a3b2b90b471e868905dd44d7b75501fd0 (patch)
treec3ecb457a71ae04111b6c399724e4cc76d1cd992 /auto/os
parent19f403f5d015058399511af0fe3533899bbe506c (diff)
downloadunit-ae20ab0a3b2b90b471e868905dd44d7b75501fd0.tar.gz
unit-ae20ab0a3b2b90b471e868905dd44d7b75501fd0.tar.bz2
auto/otel: Remove pkg-config check
@thresheek reported an issue trying to configure OTEL support on Amazon Linux 2 checking for OTEL requirements: - checking for rust compiler ... found - checking for cargo ... found - checking for OpenSSL library ... found Package openssl was not found in the pkg-config search path. Perhaps you should add the directory containing `openssl.pc' to the PKG_CONFIG_PATH environment variable No package 'openssl' found We successfully built the test program with '-lssl -lcrypto', but then tried to use 'pkg-config openssl --cflags --libs' to override NXT_OTEL_LIBS. On Amazon Linux2 there is no openssl.pc, they have a openssl11.pc. Let's just remove the pkg-config check, if we get here, we have successfully built with '-lssl -lcrypto', so just go with that (it also matches what we do in auto/ssltls). Reported-by: Konstantin Pavlov <thresh@nginx.com> Closes: https://github.com/nginx/unit/issues/1510 Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'auto/os')
0 files changed, 0 insertions, 0 deletions