On 8/27/2021 8:41 AM, Joshua Watt wrote: >> @@ -1,5 +1,4 @@ >> # doesn't build and not required >> DEPENDS:remove:mingw32 = "libnsl2"
> > This is good, thanks. Is the libnsl2 also tied to some feature? Perhaps > you can explain why it needs to be removed from MinGW > My research says libnsl is a soft requirement for c-ares. GRPC assumes libnsl to be present and used by default. However, it will build without it too. https://www.linuxfromscratch.org/blfs/view/svn/basicnet/libnsl.html We should be turning libnsl off if you want to enable GRPC's backward compatibility mode. Maybe, because previous versions didn't support libnsl. c-ares ------------- CMakeLists.txt:CARES_FUNCTION_IN_LIBRARY (gethostbyname nsl HAVE_LIBNSL) CMakeLists.txt: LIST (APPEND CARES_DEPENDENT_LIBS nsl) grpc ------------- if(gRPC_BACKWARDS_COMPATIBILITY_MODE) # See https://github.com/grpc/grpc/issues/17255 set(HAVE_LIBNSL OFF CACHE BOOL "avoid cares dependency on libnsl") endif() CMakeLists.txt:option(gRPC_BACKWARDS_COMPATIBILITY_MODE "Build libraries that are binary compatible across a larger number of OS and libc versions" OFF) CMakeLists.txt:if(gRPC_BACKWARDS_COMPATIBILITY_MODE)
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#54588): https://lists.yoctoproject.org/g/yocto/message/54588 Mute This Topic: https://lists.yoctoproject.org/mt/85115270/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
