about summary refs log tree commit diff
path: root/bam.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bam.lua')
-rw-r--r--bam.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/bam.lua b/bam.lua
index 46cc18dd..8a7b79c5 100644
--- a/bam.lua
+++ b/bam.lua
@@ -113,8 +113,13 @@ client_depends = {}
 server_link_other = {}
 
 if family == "windows" then
-	table.insert(client_depends, CopyToDirectory(".", "other\\freetype\\lib\\freetype.dll"))
-	table.insert(client_depends, CopyToDirectory(".", "other\\sdl\\vc2005libs\\SDL.dll"))
+	if platform == "win32" then
+		table.insert(client_depends, CopyToDirectory(".", "other\\freetype\\lib32\\freetype.dll"))
+		table.insert(client_depends, CopyToDirectory(".", "other\\sdl\\lib32\\SDL.dll"))
+	else
+		table.insert(client_depends, CopyToDirectory(".", "other\\freetype\\lib64\\freetype.dll"))
+		table.insert(client_depends, CopyToDirectory(".", "other\\sdl\\lib64\\SDL.dll"))
+	end
 
 	if config.compiler.driver == "cl" then
 		client_link_other = {ResCompile("other/icons/teeworlds_cl.rc")}