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 19, 2020
1 parent d57769e commit c1914de
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 ${D}${QT5_BINDIR} ]]; then
local x
for x in ${D}${QT5_BINDIR}/*; do
dosym ../../"${QT5_BINDIR#${EPREFIX}/}"/${x#${D}${QT5_BINDIR}/} /usr/bin/${x#${D}${QT5_BINDIR}/}5
done
fi
fi

qt5_install_module_config

# prune libtool files
Expand Down

0 comments on commit c1914de

Please sign in to comment.