0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 08:42:16 +00:00
termux-packages/packages/libgrpc/src-core-lib-security-security_connector-ssl_utils.cc.patch
2022-09-02 12:06:24 +02:00

15 lines
590 B
Diff

--- a/src/core/lib/security/security_connector/ssl_utils.cc
+++ b/src/core/lib/security/security_connector/ssl_utils.cc
@@ -45,9 +45,9 @@
static const char* installed_roots_path = GRPC_ROOT_PEM_PATH;
#elif defined(INSTALL_PREFIX)
static const char* installed_roots_path =
- INSTALL_PREFIX "/usr/share/grpc/roots.pem";
+ INSTALL_PREFIX "$TERMUX_PREFIX@/share/grpc/roots.pem";
#else
-static const char* installed_roots_path = "/usr/share/grpc/roots.pem";
+static const char* installed_roots_path = "@TERMUX_PREFIX@/share/grpc/roots.pem";
#endif
#ifndef TSI_OPENSSL_ALPN_SUPPORT