Skip to content

Commit 0171877

Browse files
xhochywesm
authored andcommitted
ARROW-65: Be less restrictive on PYTHON_LIBRARY search paths
Current CMake FindPythonLibs also uses this option instead of NO_DEFAULT_PATH. Author: Uwe L. Korn <uwelk@xhochy.com> Closes #43 from xhochy/arrow-65 and squashes the following commits: 10eb9e0 [Uwe L. Korn] ARROW-65: Be less restrictive on PYTHON_LIBRARY search paths
1 parent d6d53b2 commit 0171877

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)