summaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-22 00:12:34 +0100
committerGitHub <noreply@github.com>2020-11-22 00:12:34 +0100
commit15ae9e2a3e58837f355b6f428db1dd1ddcf94ec7 (patch)
tree792d26a13fb9bc1caff0012ec4ec7ba0f8f8e842 /premake5.lua
parentno script logging (diff)
parentneo screen droplets (diff)
downloadre3-15ae9e2a3e58837f355b6f428db1dd1ddcf94ec7.tar
re3-15ae9e2a3e58837f355b6f428db1dd1ddcf94ec7.tar.gz
re3-15ae9e2a3e58837f355b6f428db1dd1ddcf94ec7.tar.bz2
re3-15ae9e2a3e58837f355b6f428db1dd1ddcf94ec7.tar.lz
re3-15ae9e2a3e58837f355b6f428db1dd1ddcf94ec7.tar.xz
re3-15ae9e2a3e58837f355b6f428db1dd1ddcf94ec7.tar.zst
re3-15ae9e2a3e58837f355b6f428db1dd1ddcf94ec7.zip
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"