about summary refs log tree commit diff
path: root/scripts/make_release.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make_release.py')
-rw-r--r--scripts/make_release.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/make_release.py b/scripts/make_release.py
index b1cc0fc0..ffb8e67e 100644
--- a/scripts/make_release.py
+++ b/scripts/make_release.py
@@ -13,6 +13,7 @@ platform = sys.argv[2]
 exe_ext = ""
 use_zip = 0
 use_gz = 1
+use_sdldll = 0
 use_dmg = 0
 use_bundle = 0
 include_data = True
@@ -35,6 +36,7 @@ if platform == 'win32':
 	exe_ext = ".exe"
 	use_zip = 1
 	use_gz = 0
+	use_sdldll = 1
 if  platform == 'osx':
 	use_dmg = 1
 	use_gz = 0
@@ -62,6 +64,9 @@ print "adding files"
 shutil.copy("readme.txt", package_dir)
 shutil.copy("license.txt", package_dir)
 
+if use_sdldll:
+	shutil.copy("other/sdl/vc2005libs/SDL.dll", package_dir)
+
 if include_data and not use_bundle:
 	os.mkdir(os.path.join(package_dir, "data"))
 	copydir("data", package_dir)