Use `uv_a` target in upstream cmake file
@@ -55,7 +55,8 @@ else (WITH_SHARED_LIBUV)
if (BUILD_MODULE)
add_definitions( -DBUILDING_UV_SHARED )
endif (BUILD_MODULE)
- set(LIBUV_LIBRARIES uv)
+ set(LIBUV_LIBRARIES uv_a)
+ set_target_properties(uv_a PROPERTIES COMPILE_FLAGS "-fPIC")
endif (WITH_SHARED_LIBUV)
if (LUA)
