When dlls or executables are created without the parity loader in place,
dlls may not be found when not in usr/bin.
So better move dlls from usr/lib to usr/bin, much like Cygwin does.
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
;;
esac
done
+ find usr/$(get_libdir) -maxdepth 1 -type f -name '*.dll' |
+ while read f
+ do
+ if test ! -f usr/bin/${f##*/}; then
+ ebegin "moving ${f} to usr/bin for native loader"
+ dodir usr/bin || die
+ mv -f "${f}" usr/bin || die
+ ln -sf "../bin/${f##*/}" "${f}"
+ eend $?
+ fi
+ done
}
windows_setup_dllhelper_cp() {