mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #921 from scop/micropython
micropython-dev: Set better sys.path
This commit is contained in:
commit
e93b170fe1
1 changed files with 3 additions and 2 deletions
|
@ -946,9 +946,10 @@ build_package_micropython() {
|
|||
fi
|
||||
{ cd unix
|
||||
"$MAKE" $MAKE_OPTS axtls
|
||||
"$MAKE" $MAKE_OPTS
|
||||
"$MAKE" $MAKE_OPTS CFLAGS_EXTRA="-DMICROPY_PY_SYS_PATH_DEFAULT='\"${PREFIX_PATH}/lib/micropython\"'"
|
||||
"$MAKE" install $MAKE_INSTALL_OPTS PREFIX="${PREFIX_PATH}"
|
||||
( cd "${PREFIX_PATH}/bin" && ln -fs micropython python )
|
||||
ln -fs micropython "${PREFIX_PATH}/bin/python"
|
||||
mkdir -p "${PREFIX_PATH}/lib/micropython"
|
||||
}>&4 2>&1
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue