Skip to content
Permalink
Browse files
Merge pull request #2501 from jeffhostetler/clink-debug-curl
clink.pl: fix MSVC compile script to handle libcurl-d.lib
  • Loading branch information
dscho committed Jan 30, 2020
2 parents 4b1502b + 5aaa898 commit 5f4dea1e4663a60f6246fc6f1eca739fad8056ba
Showing with 2 additions and 1 deletion.
  1. +2 −1 compat/vcbuild/scripts/clink.pl
@@ -54,7 +54,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;

0 comments on commit 5f4dea1

Please sign in to comment.