From c923a938605ead03e69f54de5f39a318045710ee Mon Sep 17 00:00:00 2001 From: Radegast Date: Tue, 6 Mar 2012 17:45:21 +0000 Subject: [PATCH] premake: no need for curl in dedicated server build --- premake4.lua | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/premake4.lua b/premake4.lua index 01243ea36..2a8478920 100644 --- a/premake4.lua +++ b/premake4.lua @@ -231,25 +231,15 @@ project "etlegacy-dedicated" excludes { "src/botlib/botlib_stub.c", + "src/qcommon/dl_main_curl.c", } - if _OPTIONS["with-curl"] then - excludes "src/qcommon/dl_main_stubs.c" - else - excludes "src/qcommon/dl_main_curl.c" - end - -- -- Windows build options -- configuration { "vs* or mingw" } targetsuffix ".exe" flags { "WinMain" } - - buildoptions - { - "`/usr/i686-pc-mingw32/usr/bin/pkg-config --cflags libcurl`", - } links { -- NOTE TO SELF: @@ -261,7 +251,6 @@ project "etlegacy-dedicated" "wsock32", "iphlpapi", - "curl", "SDLmain", "SDL", @@ -290,17 +279,7 @@ project "etlegacy-dedicated" -- -- Linux build options - -- - configuration { "linux", "not mingw", "gmake" } - buildoptions - { - "`pkg-config --cflags libcurl`", - } - linkoptions - { - "`pkg-config --libs libcurl`", - } - + -- configuration { "linux", "not mingw", "x32" } targetdir "build/linux-i386"