Browse Source

Make links absolute for qt5

Relative links should be made post-install, if the user even wants that.
master
mid-kid 8 years ago
parent
commit
e8023cd6a3
  1. 2
      satellites/qt5-base.sat
  2. 2
      satellites/qt5-tools.sat

2
satellites/qt5-base.sat

@ -53,7 +53,7 @@ make INSTALL_ROOT="$dir_install" install
mkdir -p "$dir_install/$dir_prefix/$dir_bindir" 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 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 done
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

2
satellites/qt5-tools.sat

@ -16,7 +16,7 @@ compile_qt 5
mkdir -p "$dir_install/$dir_prefix/$dir_bindir" 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 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 done
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: # vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:

Loading…
Cancel
Save