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

Broken symlinks generated when operating on a symlinked directory #3

Open
sirspudd opened this issue Jan 18, 2017 · 1 comment
Open

Comments

@sirspudd
Copy link

(Top of the morning and thanks for the useful tool(great for cross compilation))

Passing a directory which is itself a symlink as an argument results in the generation of broken symlinks.

On many modern Linux systems, /lib is a symlink to /usr/lib, hence running ./symlinks -c /lib generated relative symlinks in the form ../usr/lib/libfoo, which is a problem since /lib is actually /usr/lib and ../usr/lib is /usr/usr/lib.

@da-phil
Copy link

da-phil commented Sep 15, 2017

I guess my pull-request from 2015 should fix exactly this problem: #2

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