This is an automated email from the ASF dual-hosted git repository. wesm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/arrow.git
commit fa98906eb4e95e294f3986ee59ba7a77ee396d51 Author: Praveen <[email protected]> AuthorDate: Fri Oct 5 15:46:00 2018 +0530 [Gandiva] Fixes for build issues. --- cpp/src/gandiva/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpp/src/gandiva/CMakeLists.txt b/cpp/src/gandiva/CMakeLists.txt index ada9e46..7065800 100644 --- a/cpp/src/gandiva/CMakeLists.txt +++ b/cpp/src/gandiva/CMakeLists.txt @@ -120,7 +120,11 @@ target_include_directories(gandiva_helpers ) target_link_libraries(gandiva_helpers PRIVATE Boost::boost re2) + +# hide all symbols that are not needed. if (NOT APPLE) + # apple linker does not support version scripts, not needed since we package from travis. + set_target_properties(gandiva_helpers PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_SOURCE_DIR}/src/gandiva/symbols-helpers.map") target_link_libraries(gandiva_helpers LINK_PRIVATE -static-libstdc++ -static-libgcc) endif()
