summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-03-30 20:02:08 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-03-30 20:02:08 (GMT)
commit008af85dc06b8092ac411583265d6d48f5eb2557 (patch)
tree3ad35a42a23500e482f625e63aee91954a4216bb /Mac
parent354bb5ca671dafffd35e5177e4c8225bb8d4f48a (diff)
downloadcpython-008af85dc06b8092ac411583265d6d48f5eb2557.zip
cpython-008af85dc06b8092ac411583265d6d48f5eb2557.tar.gz
cpython-008af85dc06b8092ac411583265d6d48f5eb2557.tar.bz2
Fix for issue 13095
Diffstat (limited to 'Mac')
-rwxr-xr-xMac/BuildScript/build-installer.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index c2cdb02..d5da074 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -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"%(