File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if (WIN32)
6161 )
6262endif ()
6363
64- if (PTHREAD_LIBRARY)
64+ if (NOT WIN32 AND ARROW_USE_GLOG AND PTHREAD_LIBRARY)
6565 set (ARROW_PYTHON_SHARED_LINK_LIBS
6666 ${ARROW_PYTHON_SHARED_LINK_LIBS}
6767 ${PTHREAD_LIBRARY} )
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ ADD_ARROW_TEST(parsing-util-test)
6262ADD_ARROW_TEST (stl-util-test )
6363ADD_ARROW_TEST (thread-pool-test )
6464ADD_ARROW_TEST (lazy-test )
65- # ADD_ARROW_TEST(logging-test)
65+ ADD_ARROW_TEST (logging-test )
6666
6767ADD_ARROW_BENCHMARK (bit-util-benchmark )
6868ADD_ARROW_BENCHMARK (decimal-benchmark )
Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ if (PYARROW_BUILD_ORC)
489489endif ()
490490
491491find_library (PTHREAD_LIBRARY pthread )
492- if (PTHREAD_LIBRARY)
492+ if (ARROW_USE_GLOG AND PTHREAD_LIBRARY)
493493 set (LINK_LIBS ${LINK_LIBS} ${PTHREAD_LIBRARY} )
494494endif ()
495495
You can’t perform that action at this time.
0 commit comments