summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index a6c2b288..57b29c67 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -309,7 +309,10 @@ project "reVC"
linkoptions "/SAFESEH:NO"
characterset ("MBCS")
targetextension ".exe"
- staticruntime "on"
+ if(_OPTIONS["with-librw"]) then
+ -- external librw is dynamic
+ staticruntime "on"
+ end
filter "platforms:win*glfw*"
staticruntime "off"