summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Pesavento <pesa@gentoo.org>2011-12-21 22:47:35 +0000
committerDavide Pesavento <pesa@gentoo.org>2011-12-21 22:47:35 +0000
commit0d09676579701958df4d30148943a6cae35eb45d (patch)
treecb028e5a69305f77be23fec8dfc1b0700fbdc9b3 /eclass/qt4-build.eclass
parentarm stable, bug #394039 (diff)
downloadhistorical-0d09676579701958df4d30148943a6cae35eb45d.tar.gz
historical-0d09676579701958df4d30148943a6cae35eb45d.tar.bz2
historical-0d09676579701958df4d30148943a6cae35eb45d.zip
Disable rpath for Qt 4.8 and later (bug #380415). Thanks to dilfridge for testing.
Diffstat (limited to 'eclass/qt4-build.eclass')
-rw-r--r--eclass/qt4-build.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/qt4-build.eclass b/eclass/qt4-build.eclass
index b04029edcd04..1b0c623df337 100644
--- a/eclass/qt4-build.eclass
+++ b/eclass/qt4-build.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.105 2011/12/21 22:36:47 pesa Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt4-build.eclass,v 1.106 2011/12/21 22:47:35 pesa Exp $
# @ECLASS: qt4-build.eclass
# @MAINTAINER:
@@ -502,6 +502,9 @@ standard_configure_options() {
local exceptions="-exceptions"
in_iuse exceptions && exceptions="$(qt_use exceptions)"
+ # bug 380415
+ version_is_at_least 4.8 && myconf+=" -no-rpath"
+
# note about -reduce-relocations:
# That flag seems to introduce major breakage to applications,
# mostly to be seen as a core dump with the message "QPixmap: Must