mirror of
https://github.com/pyenv/pyenv.git
synced 2025-01-09 00:11:38 +00:00
Fix --enable-shared sample command
This commit is contained in:
parent
d15f3888f0
commit
a91b36b236
1 changed files with 2 additions and 2 deletions
|
@ -152,13 +152,13 @@ $ cat fix1.patch fix2.patch | pyenv install --patch 2.7.10
|
||||||
You can build CPython with `--enable-shared` to install a version with
|
You can build CPython with `--enable-shared` to install a version with
|
||||||
shared object.
|
shared object.
|
||||||
|
|
||||||
If `--enabled-shared` was found in `PYTHON_CONFIGURE_OPTS` or `CONFIGURE_OPTS`,
|
If `--enable-shared` was found in `PYTHON_CONFIGURE_OPTS` or `CONFIGURE_OPTS`,
|
||||||
`python-build` will automatically set `RPATH` to the pyenv's prefix directory.
|
`python-build` will automatically set `RPATH` to the pyenv's prefix directory.
|
||||||
This means you don't have to set `LD_LIBRARY_PATH` or `DYLD_LIBRARY_PATH` for
|
This means you don't have to set `LD_LIBRARY_PATH` or `DYLD_LIBRARY_PATH` for
|
||||||
the version(s) installed with `--enable-shared`.
|
the version(s) installed with `--enable-shared`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ env PYTHON_CONFIGURE_OPTS="--enable-shared` pyenv install 2.7.9
|
$ env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install 2.7.9
|
||||||
```
|
```
|
||||||
|
|
||||||
### Checksum verification
|
### Checksum verification
|
||||||
|
|
Loading…
Reference in a new issue