diff options
Diffstat (limited to 'premake5.lua')
-rw-r--r-- | premake5.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua index bdd8d8ff..10ab7b71 100644 --- a/premake5.lua +++ b/premake5.lua @@ -312,7 +312,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" |