Skip to content

Commit 74a72ec

Browse files
committed
Rename msvc build option krb5 to gss
In the MSVC build system we've never separated krb5 from gss, and always built them both. Since the removal of native krb5 support, this parameter only controls GSSAPI, so rename it accordingly.
1 parent 98de86e commit 74a72ec

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/tools/msvc/Solution.pm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
219219
print O "#define HAVE_LIBXSLT\n";
220220
print O "#define USE_LIBXSLT\n";
221221
}
222-
if ($self->{options}->{krb5})
222+
if ($self->{options}->{gss})
223223
{
224224
print O "#define ENABLE_GSS 1\n";
225225
}
@@ -494,14 +494,14 @@ sub AddProject
494494
$proj->AddIncludeDir($self->{options}->{nls} . '\include');
495495
$proj->AddLibrary($self->{options}->{nls} . '\lib\libintl.lib');
496496
}
497-
if ($self->{options}->{krb5})
497+
if ($self->{options}->{gss})
498498
{
499-
$proj->AddIncludeDir($self->{options}->{krb5} . '\inc\krb5');
500-
$proj->AddLibrary($self->{options}->{krb5} . '\lib\i386\krb5_32.lib');
499+
$proj->AddIncludeDir($self->{options}->{gss} . '\inc\krb5');
500+
$proj->AddLibrary($self->{options}->{gss} . '\lib\i386\krb5_32.lib');
501501
$proj->AddLibrary(
502-
$self->{options}->{krb5} . '\lib\i386\comerr32.lib');
502+
$self->{options}->{gss} . '\lib\i386\comerr32.lib');
503503
$proj->AddLibrary(
504-
$self->{options}->{krb5} . '\lib\i386\gssapi32.lib');
504+
$self->{options}->{gss} . '\lib\i386\gssapi32.lib');
505505
}
506506
if ($self->{options}->{iconv})
507507
{
@@ -621,7 +621,7 @@ sub GetFakeConfigure
621621
$cfg .= ' --with-ossp-uuid' if ($self->{options}->{uuid});
622622
$cfg .= ' --with-libxml' if ($self->{options}->{xml});
623623
$cfg .= ' --with-libxslt' if ($self->{options}->{xslt});
624-
$cfg .= ' --with-gssapi' if ($self->{options}->{krb5});
624+
$cfg .= ' --with-gssapi' if ($self->{options}->{gss});
625625
$cfg .= ' --with-tcl' if ($self->{options}->{tcl});
626626
$cfg .= ' --with-perl' if ($self->{options}->{perl});
627627
$cfg .= ' --with-python' if ($self->{options}->{python});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy