Skip to content

Commit 10eb9e0

Browse files
committed
ARROW-65: Be less restrictive on PYTHON_LIBRARY search paths
Current CMake FindPythonLibs also uses this option instead of NO_DEFAULT_PATH.
1 parent d3cb6b4 commit 10eb9e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/cmake_modules/FindPythonLibsNew.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ else()
166166
find_library(PYTHON_LIBRARY
167167
NAMES "python${PYTHON_LIBRARY_SUFFIX}"
168168
PATHS ${_PYTHON_LIBS_SEARCH}
169-
NO_DEFAULT_PATH)
169+
NO_SYSTEM_ENVIRONMENT_PATH)
170170
message(STATUS "Found Python lib ${PYTHON_LIBRARY}")
171171
endif()
172172

0 commit comments

Comments
 (0)