summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/osd/sdl.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-03-05 21:23:21 +1100
committer Vas Crabb <vas@vastheman.com>2020-03-05 21:23:21 +1100
commit5bce46bd7561ae1857c7e17614133f01f984ae78 (patch)
tree5df802bbf88b78604f359e9691f395fd2fea4bec /scripts/src/osd/sdl.lua
parent72082dc6d70b62ad921d5ac680c628c9ce158271 (diff)
Removed winpcap and cleaned up network module selection.
(nw) The pcap.h header itself has the problematic original BSD license, including the obnoxious advertising clause. Using tap/tun networking on Windows provides a much better experience, so the extra setup is worth it. This patch also allows you to enable pcap on platforms where it's disabled by default with USE_PCAP=1 if you really want to use it.
Diffstat (limited to 'scripts/src/osd/sdl.lua')
-rw-r--r--scripts/src/osd/sdl.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua
index 43b1e20e079..10aa9940c52 100644
--- a/scripts/src/osd/sdl.lua
+++ b/scripts/src/osd/sdl.lua
@@ -239,21 +239,16 @@ end
BASE_TARGETOS = "unix"
SDLOS_TARGETOS = "unix"
-SDL_NETWORK = ""
if _OPTIONS["targetos"]=="linux" then
- SDL_NETWORK = "taptun"
elseif _OPTIONS["targetos"]=="openbsd" then
elseif _OPTIONS["targetos"]=="netbsd" then
- SDL_NETWORK = "pcap"
elseif _OPTIONS["targetos"]=="haiku" then
elseif _OPTIONS["targetos"]=="asmjs" then
elseif _OPTIONS["targetos"]=="windows" then
BASE_TARGETOS = "win32"
SDLOS_TARGETOS = "win32"
- SDL_NETWORK = "pcap"
elseif _OPTIONS["targetos"]=="macosx" then
SDLOS_TARGETOS = "macosx"
- SDL_NETWORK = "pcap"
end
if _OPTIONS["with-bundled-sdl2"]~=nil then