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 64b9ae7 commit 221f037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ set -e
HTSLIB_DIR="src/htslib-1.21"
echo "Configuring HTSlib in $HTSLIB_DIR"
cd $HTSLIB_DIR
./configure \
CFLAGS="-O2 -fPIC" \
LDFLAGS=$(${R_HOME}/bin/R CMD config LDFLAG)
./configure CFLAGS="-O2 -fPIC"

make libhts.a

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

make libhts.a

0 comments on commit 221f037

Please sign in to comment.