Skip to content

Commit 89a1c16

Browse files
committed
librdkafka.redist is now using msvc 142, not 140
1 parent acce614 commit 89a1c16

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/wheels/build-wheels.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set CIBW_TEST_REQUIRES=-r tests/requirements.txt
1919
set CIBW_TEST_COMMAND=pytest {project}\tests\test_Producer.py
2020
rem set CIBW_BUILD_VERBOSITY=3
2121
set include=%cd%\%DEST%\build\native\include
22-
set lib=%cd%\%DEST%\build\native\lib\win\%ARCH%\win-%ARCH%-Release\v140
22+
set lib=%cd%\%DEST%\build\native\lib\win\%ARCH%\win-%ARCH%-Release\v142
2323
set DLL_DIR=%cd%\%DEST%\runtimes\win-%ARCH%\native
2424
set CIBW_REPAIR_WHEEL_COMMAND=python -m delvewheel repair --add-path %DLL_DIR% -w {dest_dir} {wheel}
2525

tools/windows-copy-librdkafka.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ if exist %pypath64% (
3232

3333
rem Copy x86 libs and dlls
3434
if exist %pypath% (
35-
echo A | xcopy /F dest\librdkafka.redist.%librdkafka_version%\build\native\lib\win\x86\win-x86-Release\v140\librdkafka.lib %pypath%\libs\* || exit /b 1
35+
echo A | xcopy /F dest\librdkafka.redist.%librdkafka_version%\build\native\lib\win\x86\win-x86-Release\v142\librdkafka.lib %pypath%\libs\* || exit /b 1
3636
echo A | xcopy /I /F /S dest\librdkafka.redist.%librdkafka_version%\runtimes\win-x86\native\* %pypath%\libs || exit /b 1
3737
)
3838

3939
rem Copy x64 libs and dlls
4040
if exist %pypath64% (
41-
echo A | xcopy /F dest\librdkafka.redist.%librdkafka_version%\build\native\lib\win\x64\win-x64-Release\v140\librdkafka.lib %pypath64%\libs\* || exit /b 1
41+
echo A | xcopy /F dest\librdkafka.redist.%librdkafka_version%\build\native\lib\win\x64\win-x64-Release\v142\librdkafka.lib %pypath64%\libs\* || exit /b 1
4242
echo A | xcopy /I /F /S dest\librdkafka.redist.%librdkafka_version%\runtimes\win-x64\native\* %pypath64%\libs || exit /b 1
4343
)

0 commit comments

Comments
 (0)