Preserve symlinks when copying the libraries, on OSX

This commit is contained in:
rdb 2009-11-29 14:48:31 +00:00
parent 4eaf559c0a
commit 7f4bb9e9c3
1 changed files with 1 additions and 1 deletions

View File

@ -4701,7 +4701,7 @@ def MakeInstallerOSX():
oscmd("cp -R %s/plugins dstroot/base/Developer/Panda3D/plugins" % GetOutputDir())
for base in os.listdir(GetOutputDir()+"/lib"):
if (not base.endswith(".a")):
oscmd("cp "+GetOutputDir()+"/lib/"+base+" dstroot/base/Developer/Panda3D/lib/"+base)
oscmd("cp -d "+GetOutputDir()+"/lib/"+base+" dstroot/base/Developer/Panda3D/lib/"+base)
# Scripts to configure this version of Panda3D (in environment.plist)
oscmd("mkdir -p dstroot/scripts/base/")