Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2011-10-03 22:53:14 +0400
committerJason Perkins <starkos@industriousone.com>2011-10-03 22:53:14 +0400
commit56036f99d9ab29e8261b15a3ee9613de53181ced (patch)
treea1f7d1a9090f296a79096a69ef8a4ab454e0cda5 /src/base
parent7c9dea1f22e2b7dc82ea7ef88be0a9350ec00b55 (diff)
Patch 3138574: NoImportLib ignored in Windows makefiles dependencies (rjmyst3)
Diffstat (limited to 'src/base')
-rw-r--r--src/base/project.lua5
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