vcpkg/ports/libtins/find-pcap_static.patch
Kai Pastor 5a54a4308e
[libtins] Misc fixes (#21789)
* Fix source writes

* Revise dependencies, switch to libpcap

* Revise portfile

* Enable libpcap on osx

* Minor portfile updates

* Update versions

* Find pcap_static lib

* Update versions
2021-12-02 19:51:12 -08:00

14 lines
374 B
Diff

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}
)