Merge pull request #20 from Blizzard/pr14

paths from config.getlinks are already project relative.
This commit is contained in:
starkos 2015-05-10 10:28:08 -04:00
commit d1029ce29b

View File

@ -234,7 +234,7 @@
-- Scan the list of linked libraries. If any are referenced with
-- paths, add those to the list of library search paths
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
if cfg.flags.RelativeLinks then