[ https://issues.apache.org/jira/browse/ARROW-7499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17065042#comment-17065042 ]
Neal Richardson commented on ARROW-7499: ---------------------------------------- I would prefer the merging approach. > [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 > Priority: Major > Fix For: 0.17.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)