Skip to content

Commit

Permalink
Remove crypt32.lib from C++Builder configuration
Browse files Browse the repository at this point in the history
`import32.lib` serves the purpose for most Windows API libraries, including this one. For example, with a GNU `grep` utility:

>tdump %BDS%\lib\win32c\release\import32.lib | grep -B 3 -A 1 CertOpenStore
171E32 COMENT  Purge: Yes, List: Yes, Class: 160 (0A0h), SubClass: 1 (01h)
    Dynamic link import (IMPDEF)
      Imported by: name
      Internal Name: CertOpenStore
      Module Name: CRYPT32.dll

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from #13540)
  • Loading branch information
tanzislam authored and beldmit committed Apr 19, 2021
1 parent daf9801 commit 5ae5200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configurations/50-cppbuilder.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ my %targets = (
($disabled{shared}
? ($disabled{threads} ? "cw32.lib" : "cw32mt.lib")
: ($disabled{threads} ? "cw32i.lib" : "cw32mti.lib")));
push @ex_libs, ("crypt32.lib", "ws2_32.lib") unless $disabled{sock};
push @ex_libs, "ws2_32.lib" unless $disabled{sock};
return join(" ", @ex_libs);
}),
AR => "tlib",
Expand Down

0 comments on commit 5ae5200

Please sign in to comment.