diff options
author | Kai Koehne <kai.koehne@qt.io> | 2019-03-22 13:25:57 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2019-03-29 11:43:19 +0000 |
commit | 1a707be8b4a8e3cb2878cb18ce76c54f9fad9b28 (patch) | |
tree | f1dbfc57b091ed339345656189dce545c29d094d /mkspecs | |
parent | 54efa7e592420b8d952e18e956b33368b8b9f8e3 (diff) |
Do not look for pg_config, mysql_config in PATH when cross-compiling
Otherwise it can happen that we pick up the tool for the host system,
which will break compilation.
Users can still pass
-psql_config /path/to/pg_config
or
-mysql_config /path/to/mysql_config
manually.
[ChangeLog][QtSql] When cross-compiling pg_config, mysql_config
are not looked up in PATH anymore. Pass -psql_config path/to/pg_config
or -mysql_config path/to/mysql_config to explicitly enable PSQL or
MySQL in this setup.
Fixes: QTBUG-73565
Change-Id: I35ff32322bac69f1575ce6c846a56ac2ae3b8d55
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions