Skip to content

Commit ffcedc7

Browse files
committed
Don't explicitly pass iconv lib location anymore
As per microsoft/vcpkg#14780 (comment) Signed-off-by: Dennis Ameling <[email protected]>
1 parent ce7ed37 commit ffcedc7

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/main.yml

-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ jobs:
209209
shell: bash
210210
run: |
211211
cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/${{ matrix.arch }}-windows \
212-
-DIconv_LIBRARY=`pwd`/compat/vcbuild/vcpkg/installed/${{ matrix.arch }}-windows/lib/libiconv.lib -DIconv_INCLUDE_DIR=`pwd`/compat/vcbuild/vcpkg/installed/${{ matrix.arch }}-windows/include \
213212
-DMSGFMT_EXE=`pwd`/git-sdk-64-minimal/mingw64/bin/msgfmt.exe -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON -DCMAKE_GENERATOR_PLATFORM=${{ matrix.arch }} -DVCPKG_ARCH=${{ matrix.arch }}-windows
214213
- name: MSBuild
215214
run: msbuild git.sln -property:Configuration=Release -property:Platform=${{ matrix.arch }} -maxCpuCount:4 -property:PlatformToolset=v142

compat/vcbuild/scripts/clink.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
push(@args, "zlib.lib");
4646
}
4747
} elsif ("$arg" eq "-liconv") {
48-
push(@args, "libiconv.lib");
48+
push(@args, "iconv.lib");
4949
} elsif ("$arg" eq "-lcrypto") {
5050
push(@args, "libcrypto.lib");
5151
} elsif ("$arg" eq "-lssl") {

contrib/buildsystems/engine.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ sub handleLinkLine
351351
} elsif ("$part" eq "-lexpat") {
352352
push(@libs, "libexpat.lib");
353353
} elsif ("$part" eq "-liconv") {
354-
push(@libs, "libiconv.lib");
354+
push(@libs, "iconv.lib");
355355
} elsif ($part =~ /^[-\/]/) {
356356
push(@lflags, $part);
357357
} elsif ($part =~ /\.(a|lib)$/) {

0 commit comments

Comments
 (0)