Prechádzať zdrojové kódy

Disable libuv on Solaris 10

Two issues need to be resolved to add Solaris 10
libuv support:

1. libuv needs to provide alternative functionality
   for systems that do not support mkdtemp()
2. cmake should set SUNOS_NO_IFADDRS for Solaris 10
   builds (but not Solaris 11)
Eric Berge 9 rokov pred
rodič
commit
ba8bb32162
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      CMakeLists.txt

+ 3 - 0
CMakeLists.txt

@@ -510,6 +510,9 @@ int main(void) { return 0; }
     elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "sparc")
       # Disable until it can be ported.
       set(CMAKE_USE_LIBUV 0)
+    elseif(CMAKE_SYSTEM STREQUAL "SunOS-5.10")
+      # Disable until it can be ported.
+      set(CMAKE_USE_LIBUV 0)
     endif()
   endif()
   if(CMAKE_USE_LIBUV)