diff options
author | Jason Perkins <starkos@industriousone.com> | 2011-10-03 22:53:14 +0400 |
---|---|---|
committer | Jason Perkins <starkos@industriousone.com> | 2011-10-03 22:53:14 +0400 |
commit | 56036f99d9ab29e8261b15a3ee9613de53181ced (patch) | |
tree | a1f7d1a9090f296a79096a69ef8a4ab454e0cda5 /src/base | |
parent | 7c9dea1f22e2b7dc82ea7ef88be0a9350ec00b55 (diff) |
Patch 3138574: NoImportLib ignored in Windows makefiles dependencies (rjmyst3)
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/project.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/base/project.lua b/src/base/project.lua index 1f40cde..4534412 100644 --- a/src/base/project.lua +++ b/src/base/project.lua @@ -441,7 +441,10 @@ local kind = cfg.kind if premake.iscppproject(cfg) then -- On Windows, shared libraries link against a static import library - if (namestyle == "windows" or system == "windows") and kind == "SharedLib" and direction == "link" then + if (namestyle == "windows" or system == "windows") + and kind == "SharedLib" and direction == "link" + and not cfg.flags.NoImportLib + then kind = "StaticLib" end |