From dd5ef52d1f267881f3d6e465332446279f981320 Mon Sep 17 00:00:00 2001 From: Zilong-Li Date: Sat, 21 Dec 2024 11:27:54 +0100 Subject: [PATCH] fix symbolic link error on windows --- configure | 2 ++ src/htslib-1.21/configure | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index c8a40c3..30f9008 100755 --- a/configure +++ b/configure @@ -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 diff --git a/src/htslib-1.21/configure b/src/htslib-1.21/configure index fc73d48..8dfc180 100755 --- a/src/htslib-1.21/configure +++ b/src/htslib-1.21/configure @@ -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