mirror of
https://github.com/python/cpython.git
synced 2025-08-15 14:20:55 +00:00
Merged revisions 70746 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70746 | ronald.oussoren | 2009-03-30 15:02:08 -0500 (Mon, 30 Mar 2009) | 2 lines Fix for issue 13095 ........
This commit is contained in:
parent
ed96036049
commit
524e36a5d0
2 changed files with 7 additions and 1 deletions
|
@ -649,6 +649,11 @@ def buildPython():
|
|||
# several paths.
|
||||
version = getVersion()
|
||||
|
||||
# Since the extra libs are not in their installed framework location
|
||||
# during the build, augment the library path so that the interpreter
|
||||
# will find them during its extension import sanity checks.
|
||||
os.environ['DYLD_LIBRARY_PATH'] = os.path.join(WORKDIR,
|
||||
'libraries', 'usr', 'local', 'lib')
|
||||
print "Running configure..."
|
||||
runCommand("%s -C --enable-framework --enable-universalsdk=%s "
|
||||
"--with-universal-archs=%s "
|
||||
|
@ -670,6 +675,7 @@ def buildPython():
|
|||
runCommand("make frameworkinstallextras DESTDIR=%s"%(
|
||||
shellQuote(rootDir)))
|
||||
|
||||
del os.environ['DYLD_LIBRARY_PATH']
|
||||
print "Copying required shared libraries"
|
||||
if os.path.exists(os.path.join(WORKDIR, 'libraries', 'Library')):
|
||||
runCommand("mv %s/* %s"%(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue