mirror of https://github.com/microsoft/vcpkg.git
[libpcap] Fix incorrect library name in libpcap.pc of non-windows build (#30398)
* [libpcap] Fix incorrect library name in libpcap.pc of non-windows build * update version
This commit is contained in:
parent
2e1322f775
commit
5dfb5ff680
|
|
@ -10,10 +10,10 @@ index b83fbbd..2f675d1 100644
|
|||
-# pcap-config and process man pages and arrange that they be installed.
|
||||
-if(NOT MSVC)
|
||||
+# Generate libpcap.pc
|
||||
+if(BUILD_SHARED_LIBS)
|
||||
+ set(PACKAGE_NAME ${LIBRARY_NAME})
|
||||
+else()
|
||||
+if(MSVC AND NOT BUILD_SHARED_LIBS)
|
||||
+ set(PACKAGE_NAME ${LIBRARY_NAME}_static)
|
||||
+else()
|
||||
+ set(PACKAGE_NAME ${LIBRARY_NAME})
|
||||
+endif()
|
||||
set(prefix ${CMAKE_INSTALL_PREFIX})
|
||||
set(exec_prefix "\${prefix}")
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"name": "libpcap",
|
||||
"version-semver": "1.10.1",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "A portable C/C++ library for network traffic capture",
|
||||
"homepage": "https://www.tcpdump.org/",
|
||||
"license": "BSD-3-Clause",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4286,7 +4286,7 @@
|
|||
},
|
||||
"libpcap": {
|
||||
"baseline": "1.10.1",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"libpff": {
|
||||
"baseline": "2021-11-14",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "6cf3667c0320e2ff5d92d45e91b07fb3bf2fe05e",
|
||||
"version-semver": "1.10.1",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "b21dafcbcbd4a428b3800a6a686a473db8625ca6",
|
||||
"version-semver": "1.10.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue