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 eae50e2 commit af8035eCopy full SHA for af8035e
1 file changed
cpp/src/arrow/flight/sql/odbc/tests/CMakeLists.txt
@@ -50,7 +50,8 @@ else()
50
${ARROW_TEST_SHARED_LINK_LIBS})
51
endif()
52
53
-set(ARROW_FLIGHT_SQL_ODBC_TEST_LIBS ${ODBC_LIBRARIES} ${ODBCINST} ${SQLite3_LIBRARIES})
+# On macOS, link `ODBCINST` first to ensure iodbc take precedence over unixodbc
54
+set(ARROW_FLIGHT_SQL_ODBC_TEST_LIBS ${ODBCINST} ${ODBC_LIBRARIES} ${SQLite3_LIBRARIES})
55
56
# On Windows, dynamic linking ODBC is supported, tests link libraries dynamically.
57
# On unix systems, static linking ODBC is supported, thus tests link libraries statically.
0 commit comments