From f12095fb512a4dc5e18c639be4474787e7053856 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 4 Dec 2011 22:28:58 +0100 Subject: fixed win64 building --- bam.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bam.lua') 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")} -- cgit 1.4.1