Skip to content

Commit

Permalink
[ci] use lowercase library names in linker flags (#5870)
Browse files Browse the repository at this point in the history
  • Loading branch information
characat0 authored May 6, 2023
1 parent 7c71db0 commit 9078696
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ endif()

if(WIN32)
if(MINGW OR CYGWIN)
target_link_libraries(lightgbm_objs PUBLIC Ws2_32 IPHLPAPI)
target_link_libraries(lightgbm_objs PUBLIC ws2_32 iphlpapi)
endif()
endif()

Expand Down
2 changes: 1 addition & 1 deletion R-package/src/Makevars.win.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PKG_LIBS = \
${SHLIB_OPENMP_CXXFLAGS} \
${SHLIB_PTHREAD_FLAGS} \
-lws2_32 \
-lIphlpapi
-liphlpapi

OBJECTS = \
boosting/boosting.o \
Expand Down

0 comments on commit 9078696

Please sign in to comment.