From e8023cd6a3f6cc1b62b7877afa4072691f748e18 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Tue, 7 Mar 2017 18:50:46 +0100 Subject: [PATCH] Make links absolute for qt5 Relative links should be made post-install, if the user even wants that. --- satellites/qt5-base.sat | 2 +- satellites/qt5-tools.sat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/satellites/qt5-base.sat b/satellites/qt5-base.sat index 525caf4..c8ca203 100644 --- a/satellites/qt5-base.sat +++ b/satellites/qt5-base.sat @@ -53,7 +53,7 @@ make INSTALL_ROOT="$dir_install" install mkdir -p "$dir_install/$dir_prefix/$dir_bindir" find "$dir_install/$dir_prefix/$dir_libdir/$name/bin/" -type f -printf '%P\n' | while IFS= read bin; do - ln -s "../$dir_libdir/$name/bin/$bin" "$dir_install/$dir_prefix/$dir_bindir/$bin-$name" + ln -s "/$dir_prefix/$dir_libdir/$name/bin/$bin" "$dir_install/$dir_prefix/$dir_bindir/$bin-$name" done # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: diff --git a/satellites/qt5-tools.sat b/satellites/qt5-tools.sat index 1147ce6..5c308ef 100644 --- a/satellites/qt5-tools.sat +++ b/satellites/qt5-tools.sat @@ -16,7 +16,7 @@ compile_qt 5 mkdir -p "$dir_install/$dir_prefix/$dir_bindir" find "$dir_install/$dir_prefix/$dir_libdir/$name/bin/" -type f -printf '%P\n' | while IFS= read bin; do - ln -s "../$dir_libdir/$name/bin/$bin" "$dir_install/$dir_prefix/$dir_bindir/$bin-$name" + ln -s "/$dir_prefix/$dir_libdir/$name/bin/$bin" "$dir_install/$dir_prefix/$dir_bindir/$bin-$name" done # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: