From df4eb48cdd4e8e67bbfc7ecd19e2e3cdf02d80a1 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Thu, 19 Nov 2020 23:47:30 +0100
Subject: [PATCH] bzlib include dir

---
 Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index 8e2523a..457898c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,11 +8,6 @@ VER := 7.60
 # system type and directory layout
 SYSTEM := $(shell uname -s)
 
-# set the NO_BOOST if you do not want to install libboost-iostreams to read gzip2-ed
-# data files. Note: you have to decompress the files the yourself with gzip2 on the
-# command line AND remove the ".bz2" ending in all the cfg/*.param files.
-# NO_BOOST := 1
-
 ifdef CONEXBINROOT
   CONEX_PREFIX := $(CONEXBINROOT)
 else
@@ -100,6 +95,9 @@ endif
 
 LDFLAGS += -lbz2
 SOFLAGS += -lbz2
+ifneq ("$(BZIP2_INCLUD_DIR)", "")
+ CXXFLAGS += -I${BZIP2_INCLUD_DIR}
+endif ()
 CXXFLAGS += -std=c++17 -I$(TABDIR)/readLib/externals/compress_stream/include
 
 
-- 
GitLab