projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab81d00
)
Report configured port in MSVC built pg_config
author
Andrew Dunstan
<andrew@dunslane.net>
Fri, 28 May 2021 13:26:30 +0000
(09:26 -0400)
committer
Andrew Dunstan
<andrew@dunslane.net>
Fri, 28 May 2021 13:31:50 +0000
(09:31 -0400)
This is a long standing omission, discovered when trying to write code
that relied on it.
Backpatch to all live branches.
src/tools/msvc/Solution.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/msvc/Solution.pm
b/src/tools/msvc/Solution.pm
index 23d55daa2f86575b8a204ca8cb4a1dc1e4800b0e..95b6856a32d80d9f52945d3b5ef7ef06ba198fa5 100644
(file)
--- 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;
}