shithub: riscv

Download patch

ref: 7cc757c3c01e09c73034d8f08226ca1fd34c4e6b
parent: dc501ae1e31dd4c9147f10e0d477ad0967777609
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Aug 2 10:28:19 EDT 2014

python: disable symlink and readlink compile options, ape has no reasonable way emulating it

--- a/sys/src/cmd/python/pyconfig.h
+++ b/sys/src/cmd/python/pyconfig.h
@@ -420,7 +420,7 @@
 #define HAVE_PUTENV 1
 
 /* Define to 1 if you have the `readlink' function. */
-#define HAVE_READLINK 1
+/* #define HAVE_READLINK 1 */
 
 /* Define to 1 if you have the `realpath' function. */
 /* #undef HAVE_REALPATH */
@@ -572,7 +572,7 @@
 /* #undef HAVE_ST_BLOCKS */
 
 /* Define if you have the 'symlink' function. */
-#define HAVE_SYMLINK 1
+/* #define HAVE_SYMLINK 1 */
 
 /* Define to 1 if you have the `sysconf' function. */
 #define HAVE_SYSCONF 1