midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_python3_host_install_make_post() {
	if ex_rtl_fileop test "${PKG_DESTDIR}/bin/python3"; then
		ex_rtl_fileop rm "${PKG_DESTDIR}/bin/python3";
	fi;
	cat > "${PKG_DESTDIR}/bin/python3" <<EOF
#!/bin/sh
env LD_LIBRARY_PATH="${PREFIX}/lib"	\
	"${PREFIX}/bin/python3.5" "\${@}";
EOF
        chmod +x "${PKG_DESTDIR}/bin/python3";
};

# vim:filetype=sh