0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 15:05:41 +00:00
Files
termux-packages/packages/libgrpc/src-core-credentials-transport-tls-ssl_utils.cc.patch
2025-04-24 10:22:13 +05:30

15 lines
578 B
Diff

--- a/src/core/credentials/transport/tls/ssl_utils.cc
+++ b/src/core/credentials/transport/tls/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