paths from config.getlinks are already project relative.

This commit is contained in:
Tom van Dijck 2015-03-27 10:29:17 -07:00
parent 1738c13263
commit 8cf5b03b47

View File

@ -236,7 +236,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