mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[libpq]fix windows build failure (#19031)
* fix windows build failure fix Could not find debug or release binaries at libpq\x64-windows-rel\src\tools\msvc/Install.pm line 77. * Update libpq.json
This commit is contained in:
parent
1b1d1b209d
commit
eabb3ffe71
@ -2,6 +2,25 @@ diff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm
|
|||||||
index d109b2c90..75c7446e6 100644
|
index d109b2c90..75c7446e6 100644
|
||||||
--- a/src/tools/msvc/Install.pm
|
--- a/src/tools/msvc/Install.pm
|
||||||
+++ b/src/tools/msvc/Install.pm
|
+++ b/src/tools/msvc/Install.pm
|
||||||
|
@@ -63,8 +63,16 @@ sub Install
|
||||||
|
do "./config.pl" if (-f "config.pl");
|
||||||
|
}
|
||||||
|
|
||||||
|
- chdir("../../..") if (-f "../../../configure");
|
||||||
|
- chdir("../../../..") if (-f "../../../../configure");
|
||||||
|
+ # Move to the root path depending on the current location.
|
||||||
|
+ if (-f "../../../configure")
|
||||||
|
+ {
|
||||||
|
+ chdir("../../..");
|
||||||
|
+ }
|
||||||
|
+ elsif (-f "../../../../configure")
|
||||||
|
+ {
|
||||||
|
+ chdir("../../../..");
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
my $conf = "";
|
||||||
|
if (-d "debug")
|
||||||
|
{
|
||||||
@@ -106,7 +106,7 @@ sub Install
|
@@ -106,7 +106,7 @@ sub Install
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "libpq",
|
"name": "libpq",
|
||||||
"version": "12.2",
|
"version": "12.2",
|
||||||
"port-version": 17,
|
"port-version": 18,
|
||||||
"description": "The official database access API of postgresql",
|
"description": "The official database access API of postgresql",
|
||||||
"homepage": "https://www.postgresql.org/",
|
"homepage": "https://www.postgresql.org/",
|
||||||
"supports": "!uwp",
|
"supports": "!uwp",
|
||||||
|
@ -3478,7 +3478,7 @@
|
|||||||
},
|
},
|
||||||
"libpq": {
|
"libpq": {
|
||||||
"baseline": "12.2",
|
"baseline": "12.2",
|
||||||
"port-version": 17
|
"port-version": 18
|
||||||
},
|
},
|
||||||
"libpqxx": {
|
"libpqxx": {
|
||||||
"baseline": "7.3.1",
|
"baseline": "7.3.1",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "03c934a8004ec6c34842748d18c06a38e7a8aa3e",
|
||||||
|
"version": "12.2",
|
||||||
|
"port-version": 18
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "01e2ad37b9df46e45826e52a6cddfb95ca137abd",
|
"git-tree": "01e2ad37b9df46e45826e52a6cddfb95ca137abd",
|
||||||
"version": "12.2",
|
"version": "12.2",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user