Describe the bug
When I trying to cross-compile srt with my prebuilt openssl-3.0, I provide those args to srt configration:
OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR
OPENSSL_SSL_LIBRARY
But it find the openssl-1.1.1 install in system by pkg-config, and told me those three args has been ignored.
And then at further compile, it failed at
haicrypt/cryspr-openssl.h:23:10: fatal error: openssl/evp.h: No such file or directory
Expected behavior
Skip search for openssl by pkg-config and use the profide args.
Screenshots
here is some logs of configradion
...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
...
-- Checking for module 'openssl libcrypto'
-- Found openssl libcrypto, version 1.1.1h;1.1.1h
-- SSL via pkg-config: -L /usr/local/lib -I /usr/local/include -l;ssl;crypto
-- ENCRYPTION: ENABLED, using: openssl libcrypto
-- SSL libraries: ssl;crypto
...
CMake Warning:
Manually-specified variables were not used by the project:
OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR
OPENSSL_SSL_LIBRARY
...
I don't have premission to remove or upgrade the system installed openssl-dev in out compile server.
Describe the bug When I trying to cross-compile srt with my prebuilt openssl-3.0, I provide those args to srt configration:
But it find the openssl-1.1.1 install in system by pkg-config, and told me those three args has been ignored. And then at further compile, it failed at
To Reproduce
Expected behavior Skip search for openssl by pkg-config and use the profide args.
Screenshots here is some logs of configradion
I don't have premission to remove or upgrade the system installed openssl-dev in out compile server.