Fixed import library naming under OS X
This commit is contained in:
parent
7cc0667b6c
commit
60bc689d3c
@ -357,7 +357,7 @@
|
||||
--
|
||||
|
||||
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
|
||||
|
||||
local kind = cfg.kind
|
||||
|
@ -132,7 +132,7 @@
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user