summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorDennis Schridde <devurandom@gmx.net>2018-01-01 20:29:24 +0100
committerDavide Pesavento <pesa@gentoo.org>2018-01-11 07:12:23 +0100
commit0e97e70e79fed8cf61bfb8f5470c72e08cd6fd6a (patch)
treee4d579c2b646f5bc18782e60b75d3cd5768dc54c /dev-qt
parentdev-ruby/atomic: add ruby25 (diff)
downloadgentoo-0e97e70e79fed8cf61bfb8f5470c72e08cd6fd6a.tar.gz
gentoo-0e97e70e79fed8cf61bfb8f5470c72e08cd6fd6a.tar.bz2
gentoo-0e97e70e79fed8cf61bfb8f5470c72e08cd6fd6a.zip
dev-qt/qtsql: use correct mysql_config for multilib ABIs
Closes: https://bugs.gentoo.org/564554
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtsql/qtsql-4.8.7-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-qt/qtsql/qtsql-4.8.7-r1.ebuild b/dev-qt/qtsql/qtsql-4.8.7-r1.ebuild
index e5b47beeca3a..bc6b7192ac4e 100644
--- a/dev-qt/qtsql/qtsql-4.8.7-r1.ebuild
+++ b/dev-qt/qtsql/qtsql-4.8.7-r1.ebuild
@@ -37,7 +37,7 @@ QT4_TARGET_DIRECTORIES="
multilib_src_configure() {
local myconf=(
$(qt_native_use freetds sql-tds plugin)
- $(qt_use mysql sql-mysql plugin) $(use mysql && echo "-I${EPREFIX}/usr/include/mysql -L${EPREFIX}/usr/$(get_libdir)/mysql")
+ $(qt_use mysql sql-mysql plugin) $(use mysql && echo -mysql_config "${EPREFIX}/usr/bin/${CHOST}-mysql_config")
$(qt_use oci8 sql-oci plugin) $(use oci8 && echo "-I${ORACLE_HOME}/include -L${ORACLE_HOME}/$(get_libdir)")
$(qt_use odbc sql-odbc plugin) $(use odbc && echo "-I${EPREFIX}/usr/include/iodbc")
$(qt_native_use postgres sql-psql plugin) $(use postgres && multilib_is_native_abi && echo "-I${EPREFIX}/usr/include/postgresql/pgsql")