Skip to content

Commit

Permalink
[snappy] fix pc file include (microsoft#29590)
Browse files Browse the repository at this point in the history
* [snappy] fix wrong include in pc file

* v db
  • Loading branch information
Neumann-A committed Feb 13, 2023
1 parent 96f7b33 commit b2b3650
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions ports/snappy/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ set(name "${PORT}")
configure_file("${CURRENT_PORT_DIR}/${PORT}.pc.in" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${PORT}.pc" @ONLY)
if(NOT VCPKG_BUILD_TYPE)
configure_file("${CURRENT_PORT_DIR}/${PORT}.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${PORT}.pc" @ONLY)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${PORT}.pc" "/include" "/../include")
endif()


Expand Down
2 changes: 1 addition & 1 deletion ports/snappy/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "snappy",
"version": "1.1.9",
"port-version": 4,
"port-version": 5,
"description": "A fast compressor/decompressor.",
"homepage": "https://github.com/google/snappy",
"license": null,
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -7250,7 +7250,7 @@
},
"snappy": {
"baseline": "1.1.9",
"port-version": 4
"port-version": 5
},
"sndfile": {
"baseline": "0",
Expand Down
5 changes: 5 additions & 0 deletions versions/s-/snappy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a97f6aac039dc2b5e6fdac753d66b94cfb408d30",
"version": "1.1.9",
"port-version": 5
},
{
"git-tree": "7e0221e0b55bab4a662ff8ba9e3fa1f792f01724",
"version": "1.1.9",
Expand Down

0 comments on commit b2b3650

Please sign in to comment.