#
# set -o errexit -o noglob are assumed.
#
pkg_python3_host_install_make_post() {
if ex_rtl_fileop test "${PKG_DESTDIR}/bin/python"; then
ex_rtl_fileop rm "${PKG_DESTDIR}/bin/python";
fi;
cat > "${PKG_DESTDIR}/bin/python" <<EOF
#!/bin/sh
env LD_LIBRARY_PATH="${PREFIX}/lib" \
"${PREFIX}/bin/python3" "\${@}";
EOF
chmod +x "${PKG_DESTDIR}/bin/python";
};
# vim:filetype=sh