From 8cf5b03b47e7cd977778d74a7ee66f73e10ea82f Mon Sep 17 00:00:00 2001 From: Tom van Dijck Date: Fri, 27 Mar 2015 10:29:17 -0700 Subject: [PATCH] paths from config.getlinks are already project relative. --- src/tools/gcc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/gcc.lua b/src/tools/gcc.lua index 92909724..82e9533d 100644 --- a/src/tools/gcc.lua +++ b/src/tools/gcc.lua @@ -236,7 +236,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