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

Always build htslib without the libdeflate library #5

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

Always build htslib without the libdeflate library #5

wants to merge 1 commit into from

Conversation

dengste
Copy link

@dengste dengste commented Sep 30, 2021

If libdeflate is installed on the host, the configure script for htslib will
pick it up and link with it, leading to undefined symbols in the final link
since -ldeflate is missing from PKG_LIBS. We also cannot simply add it to
PKG_LIBS, since then we would get an error on hosts where libdeflate is
unavailable, so just configure htslib without libdeflate support.

If libdeflate is installed on the host, the configure script for htslib will
pick it up and link with it, leading to undefined symbols in the final link
since -ldeflate is missing from PKG_LIBS. We also cannot simply add it to
PKG_LIBS, since then we would get an error on hosts where libdeflate is
unavailable, so just configure htslib without libdeflate support.
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