aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libtins/find-pcap_static.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libtins/find-pcap_static.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libtins/find-pcap_static.patch')
-rw-r--r--vcpkg/ports/libtins/find-pcap_static.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/libtins/find-pcap_static.patch b/vcpkg/ports/libtins/find-pcap_static.patch
new file mode 100644
index 0000000..7134b0c
--- /dev/null
+++ b/vcpkg/ports/libtins/find-pcap_static.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/Modules/FindPCAP.cmake b/cmake/Modules/FindPCAP.cmake
+index 388b30b..f5264c3 100644
+--- a/cmake/Modules/FindPCAP.cmake
++++ b/cmake/Modules/FindPCAP.cmake
+@@ -38,7 +38,7 @@ if (${CMAKE_SIZEOF_VOID_P} EQUAL 8 AND WIN32)
+ endif ()
+
+ find_library(PCAP_LIBRARY
+- NAMES pcap wpcap
++ NAMES pcap wpcap pcap_static NAMES_PER_DIR
+ HINTS ${HINT_DIR}
+ )
+