Skip to content

Allow setting install prefix in build.rs via environment variable #677

@idealseal

Description

@idealseal

This would probably ease maintenance for distro maintainers.

This would require the wrapper variable to be joined with the prefix, something like

let prefix = std::env::var("BEAR_INSTALL_PREFIX").unwrap_or(DEFAULT_PREFIX);
let prefix = PathBuf::from(prefix);
...

Would you be open to such a patch?

@DarthGandalf would this help for the ebuild?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions