Skip to content

Conversation

Jiahui17
Copy link
Contributor

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.

@ShinyKate
Copy link
Collaborator

@mmicko need anything for this?

@mmicko mmicko merged commit c6b8f0e into YosysHQ:main Aug 25, 2025
25 checks passed
@Jiahui17 Jiahui17 deleted the bugfix/remove-hardcoded-soname branch August 25, 2025 15:22
@Jiahui17
Copy link
Contributor 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

Successfully merging this pull request may close these issues.

3 participants