mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Merged revisions 85744 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85744 | ronald.oussoren | 2010-10-20 15:10:12 +0200 (Wed, 20 Oct 2010) | 7 lines Fix for issue #7473. Without this patch you'll get link errors in some extensions (in particular the _curses_panel) one when you try to build a 3-way universal framework when you previously installed a 2-way universal framework using the python.org installer. ........
This commit is contained in:
		
							parent
							
								
									455b0db6ff
								
							
						
					
					
						commit
						7e7dbab08a
					
				
					 2 changed files with 9 additions and 1 deletions
				
			
		| 
						 | 
					@ -659,6 +659,9 @@ Build
 | 
				
			||||||
  the "bin" directory inside the framework is on the shell's search path. This
 | 
					  the "bin" directory inside the framework is on the shell's search path. This
 | 
				
			||||||
  feature now also supports the ZSH shell.
 | 
					  feature now also supports the ZSH shell.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Issue #7473: avoid link errors when building a framework with a different
 | 
				
			||||||
 | 
					  set of architectures than the one that is currently installed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Tests
 | 
					Tests
 | 
				
			||||||
-----
 | 
					-----
 | 
				
			||||||
- Issue #9628: fix runtests.sh -x option so more than one test can be excluded.
 | 
					- Issue #9628: fix runtests.sh -x option so more than one test can be excluded.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										7
									
								
								setup.py
									
										
									
									
									
								
							
							
						
						
									
										7
									
								
								setup.py
									
										
									
									
									
								
							| 
						 | 
					@ -378,7 +378,12 @@ def detect_modules(self):
 | 
				
			||||||
                    for directory in reversed(options.dirs):
 | 
					                    for directory in reversed(options.dirs):
 | 
				
			||||||
                        add_dir_to_list(dir_list, directory)
 | 
					                        add_dir_to_list(dir_list, directory)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if os.path.normpath(sys.prefix) != '/usr':
 | 
					        if os.path.normpath(sys.prefix) != '/usr' \
 | 
				
			||||||
 | 
					                and not sysconfig.get_config_var('PYTHONFRAMEWORK'):
 | 
				
			||||||
 | 
					            # OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework
 | 
				
			||||||
 | 
					            # (PYTHONFRAMEWORK is set) to avoid # linking problems when
 | 
				
			||||||
 | 
					            # building a framework with different architectures than
 | 
				
			||||||
 | 
					            # the one that is currently installed (issue #7473)
 | 
				
			||||||
            add_dir_to_list(self.compiler.library_dirs,
 | 
					            add_dir_to_list(self.compiler.library_dirs,
 | 
				
			||||||
                            sysconfig.get_config_var("LIBDIR"))
 | 
					                            sysconfig.get_config_var("LIBDIR"))
 | 
				
			||||||
            add_dir_to_list(self.compiler.include_dirs,
 | 
					            add_dir_to_list(self.compiler.include_dirs,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue