diff --git a/configure b/configure index 81e9889..0d3af1f 100755 --- a/configure +++ b/configure @@ -4843,7 +4843,7 @@ AM_CXXFLAGS="-g -Wall -Wextra $fail_on_warning -Wno-unknown-pragmas -std=c++11 - ##AC_SUBST(CXXFLAGS, "-O3") ##AC_SUBST(CFLAGS, "-O3") ##AC_SUBST(CPPFLAGS, "$CPPFLAGS $boost_include") -LDFLAGS="$LDFLAGS -pthread -std=c++11 -lbz2 -llzma" +LDFLAGS="$LDFLAGS -pthread -std=c++11" # We always need to specify to link to certain libraries diff --git a/configure.ac b/configure.ac index ec6e01f..90d3a79 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ AC_SUBST(AM_CXXFLAGS, "-g -Wall -Wextra $fail_on_warning -Wno-unknown-pragmas -s ##AC_SUBST(CXXFLAGS, "-O3") ##AC_SUBST(CFLAGS, "-O3") ##AC_SUBST(CPPFLAGS, "$CPPFLAGS $boost_include") -AC_SUBST(LDFLAGS, "$LDFLAGS -pthread -std=c++11 -lbz2 -llzma") +AC_SUBST(LDFLAGS, "$LDFLAGS -pthread -std=c++11") # We always need to specify to link to certain libraries ##AC_SUBST(LIBS, "$LIBS") # libboost_regex.a libboost_filesystem.a libboost_system.a") diff --git a/src/svaba/Makefile.am b/src/svaba/Makefile.am index cbdc8ff..8a12f79 100644 --- a/src/svaba/Makefile.am +++ b/src/svaba/Makefile.am @@ -22,7 +22,8 @@ svaba_LDADD = \ $(top_builddir)/SeqLib/src/libseqlib.a \ $(top_builddir)/SeqLib/bwa/libbwa.a \ $(top_builddir)/SeqLib/htslib/libhts.a \ - $(top_builddir)/SeqLib/fermi-lite/libfml.a + $(top_builddir)/SeqLib/fermi-lite/libfml.a \ + -llzma -lbz2 -lz ##svaba_LDFLAGS = -pthread -std=c++11 diff --git a/src/svaba/Makefile.in b/src/svaba/Makefile.in index fddb7ea..52ab41e 100644 --- a/src/svaba/Makefile.in +++ b/src/svaba/Makefile.in @@ -318,7 +318,8 @@ svaba_LDADD = \ $(top_builddir)/SeqLib/src/libseqlib.a \ $(top_builddir)/SeqLib/bwa/libbwa.a \ $(top_builddir)/SeqLib/htslib/libhts.a \ - $(top_builddir)/SeqLib/fermi-lite/libfml.a + $(top_builddir)/SeqLib/fermi-lite/libfml.a \ + -llzma -lbz2 -lz svaba_SOURCES = run_svaba.cpp BreakPoint.cpp AlignedContig.cpp AlignmentFragment.cpp \ DiscordantCluster.cpp DBSnpFilter.cpp PONFilter.cpp \