0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 20:56:19 +00:00
termux-packages/disabled-packages/python3.11/0010-use-android-logging.patch

13 lines
489 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -981,7 +981,8 @@
# Lance Ellinghaus's syslog module
# syslog daemon interface
- self.addext(Extension('syslog', ['syslogmodule.c']))
+ # Termux: Add 'log' android library since we use android logging
+ self.addext(Extension('syslog', ['syslogmodule.c'], libraries=['log']))
# Python interface to subinterpreter C-API.
self.addext(Extension('_xxsubinterpreters', ['_xxsubinterpretersmodule.c']))