diff options
author | Liam Devine <dmail00@gmail.com> | 2011-05-27 18:55:06 +0400 |
---|---|---|
committer | Liam Devine <dmail00@gmail.com> | 2011-05-27 18:55:06 +0400 |
commit | 993959c899b9088974ebd89e0aeb0c53afd3bfcc (patch) | |
tree | b065b2427ee958364a4af1608681e181e2ffca97 /src/tools | |
parent | 82a86229de6b571c89bfb4b67dffcf38e1fc1703 (diff) |
Incorrect relative paths for gmake sibling static libraries
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/gcc.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/gcc.lua b/src/tools/gcc.lua index 9713c2e..f9984f9 100644 --- a/src/tools/gcc.lua +++ b/src/tools/gcc.lua @@ -183,7 +183,8 @@ local pathstyle = premake.getpathstyle(value) local namestyle = premake.getnamestyle(value) local linktarget = premake.gettarget(value, "link", pathstyle, namestyle, cfg.system) - table.insert(result, linktarget.fullpath) + local rebasedpath = path.rebase(linktarget.fullpath, value.location, cfg.location) + table.insert(result, rebasedpath) else --premake does not support creating frameworks so this is just a SharedLib link --link using -lname |