summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--premake5.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index 51518a98..85f4d082 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -310,7 +310,10 @@ project "re3"
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"