summaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-18 13:46:58 +0100
committeraap <aap@papnet.eu>2020-11-18 13:46:58 +0100
commitcf3308c66e1f4bc881f511b55ac60b3644df7a84 (patch)
treeab55890c6e173421dd53a39d47875afdb66b7a3c /premake5.lua
parent91f9c7938ee3d2f68002cfc9ab9733f7e358c503 (diff)
no static runtime for external librw
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 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"