qt5-build.eclass: don't bother exporting DYLD_LIBRARY_PATH for tests
authorDavide Pesavento <pesa@gentoo.org>
Wed, 20 Jan 2016 15:46:06 +0000 (16:46 +0100)
committerDavide Pesavento <pesa@gentoo.org>
Tue, 2 Feb 2016 18:35:07 +0000 (19:35 +0100)
We don't support Gentoo Prefix anywhere else in the eclass.

(cherry picked from proj/qt commit dd2818af8e7fe12a3afca273c4c42f73403ad2ee)

eclass/qt5-build.eclass

index 381ae898432a194b4a7cef1984e699561caf33c4..12aef9cef4dcc3fd31f1f49ba2d3449d86571df1 100644 (file)
@@ -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}"