Skip to content

Makefile: fix hardcoded -soname for libyosys.so #5188

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jiahui17
Copy link

What are the reasons/motivation for this change?

I am using the Yosys API in my project through libyosys.so. However, the current Makefile always hardcodes soname to $PREFIX/lib/yosys/libyosys.so. Unless the libyosys.so is exactly in that location, the runtime linking will fail even if the LD_LIBRARY_PATH contains the shared lib.

Explain how this is achieved.

This PR removes the hardcoded prefix.

If applicable, please suggest to reviewers how they can test the change.

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.

1 participant