Define std_libs and std_lib_dirs to s390x.
@@ -58,6 +58,12 @@ static const char *std_lib_dirs[] = {"/lib64",
"/lib/powerpc64-linux-gnu",
#endif
};
+#elif (__s390x__)
+static lib_t std_libs[] = {{"/lib64/libc.so.6", NULL},
+ {"/lib/s390x-linux-gnu/libc.so.6", NULL},
+ {"/lib64/libm.so.6", NULL},
+ {"/lib/s390x-linux-gnu/libm.so.6", NULL}};
+static const char *std_lib_dirs[] = {"/lib64", "/lib/s390x-linux-gnu"};
#else
#error cannot recognize 32- or 64-bit target
#endif
