Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow prefix to be set as an absolute path in configure #1151

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

mishazharov
Copy link
Contributor

@mishazharov mishazharov commented Jan 1, 2024

This PR allows setting the --prefix flag to an absolute path for configure. When make is invoked, targets that start with install or uninstall are given a DESTDIR flag which instructs make to place the install output into the directory that the rules expect the installed files to be in.

Since there could be some shortfalls with this approach of setting the prefix flag (namely if make doesn't support DESTDIR for some reason) this new option is specified as "experimental"

Closes #823

@mishazharov
Copy link
Contributor Author

mishazharov commented Feb 14, 2024

@jsharpe Can you please take a look at this PR if you have a chance? It simplified some of our build setup because binaries aren't confused about where they're being executed from

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make install fails when --prefix needs to be an absolute path
1 participant