Skip to content

Commit 1a67195

Browse files
committed
Allow to disable boost iostreams even if it is available
1 parent c82f662 commit 1a67195

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ ZLIB_DIR=$(THIRDPARTY_DIR)zlib-$(ZLIB_VER)
4545
# Boost iostreams detection
4646
# Used for reading lexicographic permutation of the reads.
4747
#
48+
ifeq ($(origin HAS_BOOST_IOSTREAMS), undefined)
4849
HAS_BOOST_IOSTREAMS_MT:=/$(shell echo "void main() {}" | $(CC) -x c -o /dev/null - -lboost_iostreams-mt 2> /dev/null && echo yes || echo no)/
4950
HAS_BOOST_IOSTREAMS:=/$(shell echo "void main() {}" | $(CC) -x c -o /dev/null - -lboost_iostreams 2> /dev/null && echo yes || echo no)/
51+
endif
5052
#####################
5153

5254
DEFINES = -DBUFFERED_FILE_BUFFERSIZE=${BUFFERED_FILE_BUFFERSIZE} -DIM_BUFFERSIZE=${IM_BUFFERSIZE}

0 commit comments

Comments
 (0)