Browse Source

python: fix setup.py.patch

emacs-27
Leonid Plyushch 5 years ago
parent
commit
01a858dde6
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 2
      packages/python/setup.py.patch

2
packages/python/setup.py.patch

@ -7,7 +7,7 @@ diff -uNr Python-3.8.0/setup.py Python-3.8.0.mod/setup.py
# syslog daemon interface
- self.add(Extension('syslog', ['syslogmodule.c']))
+ # Termux: Add 'log' android library since we use android logging:
+ self.add(Extension('syslog', ['syslogmodule.c'], libraries=['-llog']))
+ self.add(Extension('syslog', ['syslogmodule.c'], libraries=['log']))
# Python interface to subinterpreter C-API.
self.add(Extension('_xxsubinterpreters', ['_xxsubinterpretersmodule.c']))

Loading…
Cancel
Save