summaryrefslogtreecommitdiffstats
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
parentCPed review part1,2 re3 (diff)
downloadre3-cf3308c66e1f4bc881f511b55ac60b3644df7a84.tar
re3-cf3308c66e1f4bc881f511b55ac60b3644df7a84.tar.gz
re3-cf3308c66e1f4bc881f511b55ac60b3644df7a84.tar.bz2
re3-cf3308c66e1f4bc881f511b55ac60b3644df7a84.tar.lz
re3-cf3308c66e1f4bc881f511b55ac60b3644df7a84.tar.xz
re3-cf3308c66e1f4bc881f511b55ac60b3644df7a84.tar.zst
re3-cf3308c66e1f4bc881f511b55ac60b3644df7a84.zip
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"