Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Allow repeatable calls to 'make install'. #243

Closed
wants to merge 1 commit into from
Closed

Allow repeatable calls to 'make install'. #243

wants to merge 1 commit into from

Conversation

erikjohnston
Copy link

Currently if make install is invoked multiple times it fails due to it trying to recreate the libhttp_parser.so symlink.

Adding the -f flag to the ln invocations fixes this, but will change the default http-parser used to the newly installed version if there are multiple versions installed. I think this is what we want to do anyway since we are clobbering any existing http-parser.h during install, so not repointing the symlink would result in a mismatch between the default library and header versions.

The alternative would be to version http-parser.h and add a symlink for it, while trying to ensure we always update both symlinks atomically.

Currently if 'make install' is invoked multiple times it fails due to it
trying to recreate the 'libhttp_parser.so' symlink. This commit adds the
'-f' flag to the 'ln' invocations, which results in the
'libhttp_parser.so' symlink pointing to the newly installed shared
library.
@jasnell
Copy link
Member

jasnell commented Oct 26, 2015

@indutny ... thoughts?

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

Successfully merging this pull request may close these issues.

None yet

2 participants