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

Don't use @rpath on macOS #309

Merged
merged 2 commits into from
Feb 12, 2021
Merged

Don't use @rpath on macOS #309

merged 2 commits into from
Feb 12, 2021

Conversation

ryandesign
Copy link
Contributor

There's no particular benefit to using @rpath instead of just using the absolute path like everybody else does, so just do that.

Late assignment (=) is used instead of immediate assignment (:=) because LIBRARY_REL isn't defined until later in the Makefile.

The user will need to specify PREFIX when running make in addition to when running make install. The readme is updated to reflect that.

There's no particular benefit to using @rpath instead of just using
the absolute path like everybody else does, so just do that.

Late assignment (=) is used instead of immediate assignment (:=) because
LIBRARY_REL isn't defined until later in the Makefile.

The user will need to specify PREFIX when running make in addition to
when running make install.
@ryandesign
Copy link
Contributor Author

And in fact using @rpath can cause actual problems for users, such as https://trac.macports.org/ticket/61735. I just added argon2 support to php in MacPorts and the use of @rpath in the argon2 library's install name prevents the php apache module from loading, at least for that user. So this PR would fix that.

@veorq veorq merged commit 63a62b9 into P-H-C:master Feb 12, 2021
@ryandesign ryandesign deleted the patch-1 branch February 12, 2021 08:54
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.

None yet

3 participants