@@ -109,10 +109,9 @@ def main():
109109 incldir = os .path .join (prefix , 'include/python%s' % version )
110110 config_c_in = os .path .join (binlib , 'config.c.in' )
111111 frozenmain_c = os .path .join (binlib , 'frozenmain.c' )
112- getpath_c = os .path .join (binlib , 'getpath.c' )
113- supp_sources = [frozenmain_c , getpath_c ]
112+ supp_sources = []
114113 makefile_in = os .path .join (binlib , 'Makefile' )
115- defines = ['-DPYTHONPATH= \\ "$(PYTHONPATH) \\ "' ]
114+ defines = []
116115 includes = ['-I' + incldir , '-I' + binlib ]
117116
118117 # sanity check of directories and files
@@ -243,11 +242,7 @@ def main():
243242 os .rename (backup , config_c )
244243
245244 cflags = defines + includes + ['$(OPT)' ]
246- libs = []
247- for n in 'Modules' , 'Python' , 'Objects' , 'Parser' :
248- n = 'lib%s.a' % n
249- n = os .path .join (binlib , n )
250- libs .append (n )
245+ libs = [os .path .join (binlib , 'libpython$(VERSION).a' )]
251246
252247 makevars = parsesetup .getmakevars (makefile_in )
253248 somevars = {}
@@ -280,10 +275,10 @@ def main():
280275 # Done!
281276
282277 if odir :
283- print 'Now run make in' , odir ,
278+ print 'Now run " make" in' , odir ,
284279 print 'to build the target:' , base_target
285280 else :
286- print 'Now run make to build the target:' , base_target
281+ print 'Now run " make" to build the target:' , base_target
287282
288283
289284# Print usage message and exit
0 commit comments