mirror of
git://code.qt.io/qt/qt5.git
synced 2026-09-28 19:35:46 +08:00
The hard-coded path paths added to LIBRARY_PATH and CPLUS_INCLUDE_PATH was not correct on Apple Silicon Macs, where homebrew installs into /opt/homebrew/. There's also no point in passing on the library location via compiler environment variables, when we can use ODBC_ROOT. And we don't need to pass it on as a CMake define, as a environment variable works just fine. This decouples the provisioning of libiodbc from the build configurations. Change-Id: I40aa3c1852fb0baf3366fa1a9dab85a66eef95e2 Reviewed-by: Joerg Bornemann <[email protected]> Reviewed-by: Alexandru Croitor <[email protected]> (cherry picked from commit124957a8cb) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit1bb142175a)