summaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua
index 161cd06..a3482c9 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -8,8 +8,8 @@ project "openalias"
kind "ConsoleApp"
language "C"
targetdir "bin/%{cfg.buildcfg}"
-
files { "openalias.c" }
+ staticruntime "On"
filter "system:windows"
defines {"_WIN32", "_CRT_SECURE_NO_WARNINGS"}
@@ -18,7 +18,7 @@ project "openalias"
filter "system:linux"
defines { "_POSIX_C_SOURCE=200112L" }
- links { "resolv" }
+ links { "resolv:static" }
buildoptions { "-Wall", "-Wextra" }
filter "configurations:Debug"