We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8918219 commit 9ef21fdCopy full SHA for 9ef21fd
1 file changed
python/CMakeLists.txt
@@ -293,6 +293,15 @@ message(STATUS "Found Cython version: ${CYTHON_VERSION}")
293
include(GNUInstallDirs)
294
find_package(Arrow REQUIRED)
295
296
+# When not bundling Arrow C++ libraries on macOS, add the Arrow library
297
+# directory to the RPATH so that the extensions can find libarrow at runtime.
298
+if(APPLE
299
+ AND NOT PYARROW_BUNDLE_ARROW_CPP
300
+ AND ARROW_SHARED_LIB)
301
+ get_filename_component(_arrow_lib_dir "${ARROW_SHARED_LIB}" DIRECTORY)
302
+ list(APPEND CMAKE_INSTALL_RPATH "${_arrow_lib_dir}")
303
+endif()
304
+
305
macro(define_option name description arrow_option)
306
set("PYARROW_${name}"
307
"AUTO"
0 commit comments