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

Clearing CPPFLAGS breaks compilation in non-standard environments #10

Open
JeffLessem-CU opened this issue Nov 5, 2024 · 2 comments
Open

Comments

@JeffLessem-CU
Copy link

Resetting CPPFLAGS breaks compilation of htslib in environments with non-standard include paths, such as when R is installed under anaconda. Commenting out this line or changing it to += to allow the definition of CPPFLAGS from R CMD config CPPFLAGS to be preserved fixes the problem.

@Zilong-Li
Copy link
Owner

Thanks! Will you test it and make a PR?

@Zilong-Li
Copy link
Owner

Hey,

Can you try the new version v0.7.1, which now uses the configure script from htslib. If this doesn't work, then probably pass CPPFLAGS around is not permitted in htslib.

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