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 21, 2024
1 parent dc309b1 commit 64b9ae7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ HTSLIB_DIR="src/htslib-1.21"
echo "Configuring HTSlib in $HTSLIB_DIR"
cd $HTSLIB_DIR
./configure \
--without-libdeflate \
CFLAGS="-O2 -fPIC"

CFLAGS="-O2 -fPIC" \
LDFLAGS=$(${R_HOME}/bin/R CMD config LDFLAG)
make libhts.a

6 changes: 4 additions & 2 deletions configure.win
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
HTSLIB_DIR="src/htslib-1.21"
echo "Configuring HTSlib in $HTSLIB_DIR"
cd $HTSLIB_DIR
## fix symbolic linking error
cp htscodecs_bundled.mk htscodecs.mk
./configure \
--without-libdeflate \
CFLAGS="-O2 -fPIC"
CFLAGS="-O2 -fPIC" \
LDFLAGS=$(${R_HOME}/bin/R CMD config LDFLAG)

make libhts.a

0 comments on commit 64b9ae7

Please sign in to comment.