This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new a61fd58f8 interpreters/python: Enable Python's socket module
a61fd58f8 is described below

commit a61fd58f8ecf7578f47db68c2f9a3fc868eff90e
Author: Tiago Medicci <[email protected]>
AuthorDate: Mon Jan 6 14:56:41 2025 -0300

    interpreters/python: Enable Python's socket module
    
    Enables the Python's socket module. This allows applications to be
    built to interact with POSIX-compatible sockets, which is supported
    by NuttX.
---
 interpreters/python/Setup.local | 1 -
 interpreters/python/config.site | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/interpreters/python/Setup.local b/interpreters/python/Setup.local
index beca9d666..5ff7cd3fa 100644
--- a/interpreters/python/Setup.local
+++ b/interpreters/python/Setup.local
@@ -28,7 +28,6 @@ _sha2
 _sha2
 _sha3
 _sha3
-_socket
 _sqlite3
 _ssl
 _statistics
diff --git a/interpreters/python/config.site b/interpreters/python/config.site
index c99b73e56..28313d75e 100644
--- a/interpreters/python/config.site
+++ b/interpreters/python/config.site
@@ -19,4 +19,6 @@ export ac_cv_func_fork="yes"
 export ac_cv_func_waitpid="yes"
 export ac_cv_func_pipe="yes"
 export ac_cv_enable_strict_prototypes_warning="no"
+export ac_cv_func_getnameinfo="yes"
+export ac_cv_func_poll="yes"
 export MODULE_BUILDTYPE="static"

Reply via email to