Neal Richardson created ARROW-7499: -------------------------------------- Summary: [C++] CMake should collect libs when making static build Key: ARROW-7499 URL: https://issues.apache.org/jira/browse/ARROW-7499 Project: Apache Arrow Issue Type: New Feature Components: C++ Reporter: Neal Richardson Assignee: Kouhei Sutou Fix For: 1.0.0
>From https://github.com/apache/arrow/pull/6068/files#r360672071: {code} # Copy the bundled static libs from the build to the install dir find . -regex .*/.*/lib/.*\\.a\$ | xargs -I{} cp -u {} ${DEST_DIR}/lib {code} {quote}I think that we should do this by CMake when -DARROW_BUILD_STATIC=ON is specified. ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/arrow/vendored/libXXX.a may be better for the installed path to avoid conflict.{quote} -- This message was sent by Atlassian Jira (v8.3.4#803005)