Add std_libs and std_lib_dirs for PPC64.
@@ -37,6 +37,10 @@ static lib_t std_libs[] = {{"/lib/libc.so.6", NULL},
{"/lib/libm.so.6", NULL},
{"/lib/aarch64-linux-gnu/libm.so.6", NULL}};
static const char *std_lib_dirs[] = {"/lib64", "/lib/aarch64-linux-gnu"};
+#elif (__PPC64__)
+static lib_t std_libs[] = {{"/lib64/libc.so.6", NULL},
+ {"/lib64/libm.so.6", NULL}};
+static const char *std_lib_dirs[] = {"/lib64"};
#else
#error cannot recognize 32- or 64-bit target
#endif
