Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
remove libnet dependency from detect_socket() for VxWorks
  • Loading branch information
pxinwr committed Nov 19, 2020
commit ae8271aa2e192fb1b9badaa2dddc4c1bfe4f2efd
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,11 +1155,7 @@ def detect_crypt(self):
def detect_socket(self):
# socket(2)
kwargs = {'depends': ['socketmodule.h']}
if VXWORKS:
if not self.compiler.find_library_file(self.lib_dirs, 'net'):
return
kwargs['libraries'] = ['net']
elif MACOS:
if MACOS:
# Issue #35569: Expose RFC 3542 socket options.
kwargs['extra_compile_args'] = ['-D__APPLE_USE_RFC_3542']

Expand Down