diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2021-05-28 09:26:30 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2021-05-28 09:31:50 -0400 |
commit | c828a7246eed0bf92490660543a072cf3610441a (patch) | |
tree | c10d9b216290c0b6c3cca22bad8ba004ed51b6a6 /src | |
parent | ab81d004e40178deecf0c3bcae177d43ce9926ab (diff) |
Report configured port in MSVC built pg_config
This is a long standing omission, discovered when trying to write code
that relied on it.
Backpatch to all live branches.
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/msvc/Solution.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 23d55daa2f8..95b6856a32d 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -1172,6 +1172,8 @@ sub GetFakeConfigure $cfg .= ' --with-tcl' if ($self->{options}->{tcl}); $cfg .= ' --with-perl' if ($self->{options}->{perl}); $cfg .= ' --with-python' if ($self->{options}->{python}); + my $port = $self->{options}->{'--with-pgport'}; + $cfg .= " --with-pgport=$port" if defined($port) return $cfg; } |