Skip to content

Commit

Permalink
build: fix libuv.a file name for cmake (#4185)
Browse files Browse the repository at this point in the history
This makes cmake more consistent about how to name this file, otherwise
sometimes it names it uv.lib and sometimes libuv.a depending on which
compiler is selected or if ./configure is used.

Refs: #2085 (comment)
  • Loading branch information
vtjnash committed Oct 29, 2023
1 parent f388908 commit 77991a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -478,7 +478,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "OS390")
endif()
target_link_libraries(uv_a ${uv_libraries})
set_target_properties(uv_a PROPERTIES OUTPUT_NAME "uv")
if(MSVC)
if(WIN32)
set_target_properties(uv_a PROPERTIES PREFIX "lib")
endif()

Expand Down

0 comments on commit 77991a0

Please sign in to comment.