r-rsamtools: add -lz to Makevars (#38649)

This commit is contained in:
snehring
2024-11-27 15:44:48 -05:00
committed by GitHub
parent 51ab7bad3b
commit 9d33c89030

View File

@@ -58,3 +58,8 @@ class RRsamtools(RPackage):
# this is not a listed dependency but is needed
depends_on("curl")
depends_on("zlib-api")
def patch(self):
with working_dir("src"):
filter_file(r"(^PKG_LIBS=)(\$\(RHTSLIB_LIBS\))", "\\1\\2 -lz", "Makevars")