commit:     c7da64f9f51154616c452733673bc4247a08efec
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 15:46:06 2016 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Tue Feb  2 18:35:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7da64f9

qt5-build.eclass: don't bother exporting DYLD_LIBRARY_PATH for tests

We don't support Gentoo Prefix anywhere else in the eclass.

(cherry picked from proj/qt commit dd2818af8e7fe12a3afca273c4c42f73403ad2ee)

 eclass/qt5-build.eclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 381ae89..12aef9c 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -226,12 +226,11 @@ qt5-build_src_test() {
        qt5_foreach_target_subdir emake
 
        # create a custom testrunner script that correctly sets
-       # {,DY}LD_LIBRARY_PATH before executing the given test
+       # LD_LIBRARY_PATH before executing the given test
        local testrunner=${QT5_BUILD_DIR}/gentoo-testrunner
        cat > "${testrunner}" <<-_EOF_ || die
        #!/bin/sh
        export LD_LIBRARY_PATH="${QT5_BUILD_DIR}/lib:${QT5_LIBDIR}"
-       export DYLD_LIBRARY_PATH="${QT5_BUILD_DIR}/lib:${QT5_LIBDIR}"
        "\$@"
        _EOF_
        chmod +x "${testrunner}"

Reply via email to