From: Davide Pesavento Date: Wed, 20 Jan 2016 15:46:06 +0000 (+0100) Subject: qt5-build.eclass: don't bother exporting DYLD_LIBRARY_PATH for tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c7da64f9f51154616c452733673bc4247a08efec;p=gentoo.git 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) --- diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 381ae898432a..12aef9cef4dc 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}"