Skip to content

Commit

Permalink
fix symbolic link error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Dec 21, 2024
1 parent 468d08e commit dd5ef52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ set -e
HTSLIB_DIR="src/htslib-1.21"
echo "Configuring HTSlib in $HTSLIB_DIR"
cd $HTSLIB_DIR
## copy file instead of symbolic linking
cp htscodecs_bundled.mk htscodecs.mk
./configure CFLAGS="-O2 -fPIC"

make libhts.a
Expand Down
2 changes: 1 addition & 1 deletion src/htslib-1.21/configure
Original file line number Diff line number Diff line change
Expand Up @@ -6952,7 +6952,7 @@ fi

ac_config_files="$ac_config_files config.mk htslib.pc.tmp:htslib.pc.in"

ac_config_links="$ac_config_links htscodecs.mk:$selected_htscodecs_mk"
# ac_config_links="$ac_config_links htscodecs.mk:$selected_htscodecs_mk"


if test "$srcdir" != .; then
Expand Down

0 comments on commit dd5ef52

Please sign in to comment.