Skip to content

Commit

Permalink
Merge pull request #2501 from jeffhostetler/clink-debug-curl
Browse files Browse the repository at this point in the history
clink.pl: fix MSVC compile script to handle libcurl-d.lib
  • Loading branch information
dscho authored and Git for Windows Build Agent committed Oct 22, 2024
2 parents e1c5d50 + 206fc22 commit 4ad52fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compat/vcbuild/scripts/clink.pl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
# need to use that instead?
foreach my $flag (@lflags) {
if ($flag =~ /^-LIBPATH:(.*)/) {
foreach my $l ("libcurl_imp.lib", "libcurl.lib") {
my $libcurl = $is_debug ? "libcurl-d.lib" : "libcurl.lib";
foreach my $l ("libcurl_imp.lib", $libcurl) {
if (-f "$1/$l") {
$lib = $l;
last;
Expand Down

0 comments on commit 4ad52fe

Please sign in to comment.