Explorar el Código

COMP: also build the static dummy loader on Cray Catamount

Alex
Alexander Neundorf hace 18 años
padre
commit
d486e7c871
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      Source/kwsys/DynamicLoader.cxx

+ 2 - 1
Source/kwsys/DynamicLoader.cxx

@@ -437,7 +437,8 @@ const char* DynamicLoader::LastError()
 // ---------------------------------------------------------------
 // 5. Implementation for systems without dynamic libs
 // __gnu_blrts__ is IBM BlueGene/L
-#ifdef __gnu_blrts__
+// __LIBCATAMOUNT__ is defined on Catamount on Cray compute nodes
+#if defined(__gnu_blrts__) || defined(__LIBCATAMOUNT__)
 #include <string.h> // for strerror()
 #define DYNAMICLOADER_DEFINED 1