Merge pull request #20 from Blizzard/pr14
paths from config.getlinks are already project relative.
This commit is contained in:
commit
d1029ce29b
@ -234,7 +234,7 @@
|
|||||||
-- Scan the list of linked libraries. If any are referenced with
|
-- Scan the list of linked libraries. If any are referenced with
|
||||||
-- paths, add those to the list of library search paths
|
-- paths, add those to the list of library search paths
|
||||||
for _, dir in ipairs(config.getlinks(cfg, "system", "directory")) do
|
for _, dir in ipairs(config.getlinks(cfg, "system", "directory")) do
|
||||||
table.insert(flags, '-L' .. project.getrelative(cfg.project, dir))
|
table.insert(flags, '-L' .. premake.quoted(dir))
|
||||||
end
|
end
|
||||||
|
|
||||||
if cfg.flags.RelativeLinks then
|
if cfg.flags.RelativeLinks then
|
||||||
|
Loading…
Reference in New Issue
Block a user