@@ -262,9 +262,9 @@ def finalize_options(self):
262262 if os .name == 'os2' :
263263 self .library_dirs .append (os .path .join (sys .exec_prefix , 'Config' ))
264264
265- # for extensions under Cygwin and AtheOS Python's library directory must be
265+ # for extensions under Cygwin Python's library directory must be
266266 # appended to library_dirs
267- if sys .platform [:6 ] == 'cygwin' or sys . platform [: 6 ] == 'atheos' :
267+ if sys .platform [:6 ] == 'cygwin' :
268268 if sys .executable .startswith (os .path .join (sys .exec_prefix , "bin" )):
269269 # building third party extensions
270270 self .library_dirs .append (os .path .join (sys .prefix , "lib" ,
@@ -776,22 +776,6 @@ def get_libraries(self, ext):
776776 # don't extend ext.libraries, it may be shared with other
777777 # extensions, it is a reference to the original list
778778 return ext .libraries + [pythonlib ]
779- elif sys .platform [:6 ] == "atheos" :
780- from distutils import sysconfig
781-
782- template = "python%d.%d"
783- pythonlib = (template %
784- (sys .hexversion >> 24 , (sys .hexversion >> 16 ) & 0xff ))
785- # Get SHLIBS from Makefile
786- extra = []
787- for lib in sysconfig .get_config_var ('SHLIBS' ).split ():
788- if lib .startswith ('-l' ):
789- extra .append (lib [2 :])
790- else :
791- extra .append (lib )
792- # don't extend ext.libraries, it may be shared with other
793- # extensions, it is a reference to the original list
794- return ext .libraries + [pythonlib , "m" ] + extra
795779 elif sys .platform == 'darwin' :
796780 # Don't use the default code below
797781 return ext .libraries
0 commit comments