Skip to content

Commit

Permalink
fix configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Dec 14, 2024
1 parent e6c2d8f commit fb156e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

HTSLIB_DIR="src/htslib-1.21"
echo "Configuring HTSlib in $HTSLIB_DIR"
cd $HTSLIB_DIR && ./configure && make
cd $HTSLIB_DIR && ./configure --enable-static --disable-shared --without-libdeflate && make
2 changes: 1 addition & 1 deletion src/Makevars
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
HTSLIB_DIR='htslib-1.21'
PKG_CPPFLAGS = -I${HTSLIB_DIR} -I../inst/include
PKG_LIBS = ${HTSLIB_DIR}/libhts.a -fPIC -lz -lm -lbz2 -llzma -lcurl
PKG_LIBS = ${HTSLIB_DIR}/libhts.a -lz -lm -lbz2 -llzma -lcurl

.PHONY: all clean

Expand Down
2 changes: 1 addition & 1 deletion src/htslib-1.21/htscodecs/htscodecs/fqzcomp_qual.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static void dump_map(unsigned int *map, int size, char *name) {
fprintf(stderr, "}\n");
}

#pragma GCC diagnostic ignored "-Wunused-function"
/* #pragma GCC diagnostic ignored "-Wunused-function" */
static void dump_params(fqz_gparams *gp) {
fprintf(stderr, "Global params = {\n");
fprintf(stderr, "\tvers\t%d\n", gp->vers);
Expand Down

0 comments on commit fb156e8

Please sign in to comment.