Install Rust under /usr/local instead of PREFIX
Rust is a build tool, not a library, so it should not follow the library install prefix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ac50e86249
commit
68abc5042c
3 files changed
+5
-3
No files matched your search
@@ -19,7 +19,7 @@ Use environment variables to select the container engine or override image names
|
||||
CONTAINER_ENGINE=podman IMAGE_NAME=my-build-env ./rocky9/build.sh
|
||||
```
|
||||
|
||||
The Debian 13 and Rocky Linux 9 images install every library under `/usr/local` by default. Set `PREFIX` to install them elsewhere; the build environment variables (`PATH`, `PKG_CONFIG_PATH`, `CMAKE_PREFIX_PATH`, `CMAKE_INSTALL_PREFIX`, and so on) follow it. The Alpine image does not support `PREFIX`.
|
||||
The Debian 13 and Rocky Linux 9 images install every library under `/usr/local` by default. Set `PREFIX` to install them elsewhere; the build environment variables (`PATH`, `PKG_CONFIG_PATH`, `CMAKE_PREFIX_PATH`, `CMAKE_INSTALL_PREFIX`, and so on) follow it. Rust is a build tool rather than a library, so it always lives under `/usr/local` and is not affected by `PREFIX`. The Alpine image does not support `PREFIX`.
|
||||
|
||||
```sh
|
||||
PREFIX=/opt/stack ./debian13/build.sh
|
||||
|
||||
Reference in new issue
Block a user