mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Fixed dbghelp.dll issue on Linux, copy is now OS-dependant
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@170 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
c9def52b27
commit
83f709aa55
1 changed files with 4 additions and 2 deletions
|
@ -26,6 +26,7 @@ Copies files from various locations:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
def assertMessage(condition, message):
|
def assertMessage(condition, message):
|
||||||
|
@ -114,8 +115,9 @@ copyFileIfExists(libmhash, installRoot)
|
||||||
|
|
||||||
copySvn("../msvc_redist", installRoot)
|
copySvn("../msvc_redist", installRoot)
|
||||||
|
|
||||||
dbghelp = os.path.normpath(os.path.join(thisDir, "../msvc_redist/dbghelp.dll"))
|
if sys.platform[:3] == "win" :
|
||||||
copyFileIfExists(dbghelp, installRoot)
|
dbghelp = os.path.normpath(os.path.join(thisDir, "../msvc_redist/dbghelp.dll"))
|
||||||
|
copyFileIfExists(dbghelp, installRoot)
|
||||||
|
|
||||||
# create version files
|
# create version files
|
||||||
version = open(os.path.join(thisDir, "include/version.default"), "rt").readline().split(".")
|
version = open(os.path.join(thisDir, "include/version.default"), "rt").readline().split(".")
|
||||||
|
|
Loading…
Reference in a new issue