diff options
author | 2020-03-05 21:23:21 +1100 | |
---|---|---|
committer | 2020-03-05 21:23:21 +1100 | |
commit | 5bce46bd7561ae1857c7e17614133f01f984ae78 (patch) | |
tree | 5df802bbf88b78604f359e9691f395fd2fea4bec /scripts/src/osd/sdl.lua | |
parent | 72082dc6d70b62ad921d5ac680c628c9ce158271 (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.lua | 5 |
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 |