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

Build failure with invalid options for ln #3

Closed
Earnestly opened this issue Nov 16, 2017 · 3 comments
Closed

Build failure with invalid options for ln #3

Earnestly opened this issue Nov 16, 2017 · 3 comments

Comments

@Earnestly
Copy link

Quick note, I'm getting a build failure with make -C main with the following error:

ln -sfh ../source source
ln: invalid option -- 'h'
Try 'ln --help' for more information.

This appears to originate from these commands:

$(BINLN):
	ln -sfh $(BUILDDIR) $@

$(SOURCELN):
	ln -sfh $(SOURCEDIR) $@

Note, -h is not available in either GNU ln or POSIX ln so I'm not sure what it's supposed to do.

@ytomino
Copy link
Owner

ytomino commented Nov 16, 2017

ln -h is the function of BSD (including Darwin) ln, to follow no symbolic links.
I use this option to avoid to make nested links like bin/bin/bin.
Sorry, it's certainly unnecessary for this case.

@ytomino
Copy link
Owner

ytomino commented Nov 16, 2017

The fix is committed as 14eb7c0.
Thank you.

@ytomino ytomino closed this as completed Nov 16, 2017
@Earnestly
Copy link
Author

Thanks

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

No branches or pull requests

2 participants