Skip to content

Commit

Permalink
Using pcap instead of wpcap
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed May 13, 2024
1 parent 1bca1e8 commit 912cc5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- { target: x86_64-macos-none, os: macos-13 , strip: "strip", upx: "ls" }
- { target: aarch64-macos-none, os: macos-14 , strip: "strip", upx: "ls" }
- { target: x86_64-windows-gnu, os: ubuntu-latest, strip: "llvm-strip", upx: "upx --lzma",
cmake: "-DPCAP_ROOT=/tmp/sdk", ext: ".exe", name: "(ucrt)" }
cmake: "-DUSE_SYSTEM_PCAP=OFF -DPCAP_ROOT=/tmp/sdk", ext: ".exe", name: "(ucrt)" }
- { target: x86_64-linux-musl, os: ubuntu-latest, strip: "llvm-strip", upx: "upx --lzma",
cmake: "-DUSE_SYSTEM_PCAP=OFF" }
- { target: aarch64-linux-musl, os: ubuntu-latest, strip: "llvm-strip", upx: "upx --lzma",
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ else ()
# Fix zig cross-compiling issue
set(CMAKE_USE_PTHREADS_INIT ON)
set(PPPWN_PCAP_DIRECTION OFF)
elseif (NOT USE_SYSTEM_PCAP)
endif()
if (NOT USE_SYSTEM_PCAP)
include(FetchContent)
set(DISABLE_DBUS ON)
set(DISABLE_RDMA ON)
Expand Down

0 comments on commit 912cc5a

Please sign in to comment.