mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-09 04:13:22 +00:00
Compile python as if link(2) is not available
From Android 6.0 on hard links are not permitted, so remove link to force e.g. _vendor/lockfile/linklockfile.py to use other mechanisms. Fixes #29.
This commit is contained in:
12
packages/python/configure.patch
Normal file
12
packages/python/configure.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -u -r ../Python-3.5.0/configure ./configure
|
||||
--- ../Python-3.5.0/configure 2015-09-13 07:41:26.000000000 -0400
|
||||
+++ ./configure 2015-10-19 19:09:59.295440276 -0400
|
||||
@@ -10946,8 +10946,6 @@
|
||||
_ACEOF
|
||||
if ac_fn_c_try_compile "$LINENO"; then :
|
||||
|
||||
-$as_echo "#define HAVE_LINK 1" >>confdefs.h
|
||||
-
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
else
|
||||
Reference in New Issue
Block a user