I've tried to specify following on the GRPC cmake invocation:
-DBORINGSSL_PREFIX_SYMBOLS=ON -DBORINGSSL_PREFIX=MY_BSSL_PREFIX

but cmake prints following in the end:

CMake Warning:
  Manually-specified variables were not used by the project:

    BORINGSSL_PREFIX
    BORINGSSL_PREFIX_SYMBOLS

what is the correct way to pass these option down to BoringSSL and and make 
GRPC count on the too?

четвер, 1 квітня 2021 р. о 18:07:24 UTC+3 Ivan Pizhenko пише:

>
> Hi, 
>
> I am facing following situation: I need to use in the my application both 
> GRPC and another library which is tied to OpenSSL, and does not link with 
> BorinSSL. Specifying both of them  on the linker arguments leads to some 
> linker errors. Please explain, how can I build gRPC so that BoringSSL gets 
> built with custom symbol prefix (so that it does not shadow OpenSSL) and 
> have the rest of the GRPC and my application which uses GRPC to use that 
> prefix too. In the BorongSSL build instructions I have seen that there is 
> possibility to build it with custom prefix on symbols ( Building 
> BoringSSL (googlesource.com) 
> <https://boringssl.googlesource.com/boringssl/+/HEAD/BUILDING.md#building-with-prefixed-symbols>
>  
> ), so I assume this is potentially possible. I am using CMake (and cannot 
> use Bazel). OS: Linux, Windows. Toolchains:  VS2017, GCC.
>
> Thanks you in advance, Ivan.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/1a151b25-585c-40dc-8583-38197eb0cf62n%40googlegroups.com.

Reply via email to