Skip to content

Commit

Permalink
qt5-build.eclass: Create '5'-suffixed symlinks from QT5_BINDIR to /us…
Browse files Browse the repository at this point in the history
…r/bin

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
  • Loading branch information
a17r committed Nov 17, 2020
1 parent 0e0de68 commit ff1e8d6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eclass/qt5-build.eclass
Expand Up @@ -277,6 +277,15 @@ qt5-build_src_install() {
fi
fi

if ver_test ${PV} -ge 5.15.2; then
if [[ -e ${QT5_BINDIR} ]]; then
local x
for x in ${QT5_BINDIR}/*; do
dosym ../../"${QT5_BINDIR#${EPREFIX}/}"/${x#${QT5_BINDIR}/} /usr/bin/${x#${QT5_BINDIR}/}5
done
fi
fi

qt5_install_module_config

# prune libtool files
Expand Down

0 comments on commit ff1e8d6

Please sign in to comment.