Closed SSebo closed 3 years ago
We use some tricks to link to C++ statically in TiKV, you can do the same in your application:
https://github.com/tikv/rust-rocksdb/blob/master/librocksdb_sys/build.rs#L86-L126
. We are also OK to accept a patch to do it inside grpc-rs.
Thanks a lot
Is your feature request related to a problem? Please describe. compile env and production env not identical, like compile on centos 6 with higher version of gcc, but production env gcc is lower. grpc can not start on production env, currently mv libstdc++ to /usr/lib64.
Describe the solution you'd like can static link with libstdc++ by some feature enabled.
Describe alternatives you've considered currently mv libstdc++ to /usr/lib64 on production env.
Additional context Add any other context or screenshots about the feature request here.