diff options
| author | oy <Tom_Adams@web.de> | 2011-12-04 22:28:58 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-12-04 22:28:58 +0100 |
| commit | f12095fb512a4dc5e18c639be4474787e7053856 (patch) | |
| tree | 17d840112acdbd678f08b7d8c0b8eb57f91e0dde /bam.lua | |
| parent | 2df6e0d04ddff53dcadc8baefe4a9f2775360131 (diff) | |
| download | zcatch-f12095fb512a4dc5e18c639be4474787e7053856.tar.gz zcatch-f12095fb512a4dc5e18c639be4474787e7053856.zip | |
fixed win64 building
Diffstat (limited to 'bam.lua')
| -rw-r--r-- | bam.lua | 9 |
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")} |