Fixed import library naming under OS X

This commit is contained in:
starkos 2009-05-31 18:35:10 +00:00
parent 7cc0667b6c
commit 60bc689d3c
2 changed files with 2 additions and 2 deletions

View File

@ -357,7 +357,7 @@
-- --
function premake.gettarget(cfg, direction, style, system) function premake.gettarget(cfg, direction, style, system)
if not system then system = os.get() end if not system then system = cfg.system or os.get() end
if system == "bsd" then system = "linux" end if system == "bsd" then system = "linux" end
local kind = cfg.kind local kind = cfg.kind

View File

@ -132,7 +132,7 @@
end end
if cfg.system == "windows" and not cfg.flags.NoImportLib then if cfg.system == "windows" and not cfg.flags.NoImportLib then
table.insert(result, '-Wl,--out-implib="'..premake.gettarget(cfg, "link", "linux").fullpath..'"') table.insert(result, '-Wl,--out-implib="'..premake.gettarget(cfg, "link", "linux", "windows").fullpath..'"')
end end
end end