From 234f8548e89079df8bee7f41402f6458263d5716 Mon Sep 17 00:00:00 2001
From: Robert Butora <robert.butora@inaf.it>
Date: Mon, 1 Apr 2019 16:28:36 +0200
Subject: [PATCH] CentOS7/EPEL builds. HAVE_BOOST see
 https://github.com/SOCI/soci/issues/433.

---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2a3aacf..07bf840 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ INC_DIR=/usr/local/omniORB/include \
 	   /usr/local/soci/include \
 	   /usr/local/soci/include/soci \
 	   /usr/include/mysql \
+	   /usr/include/soci \
 	   /usr/local/protobuf/include \
 	   ./src
 LIB_DIR=/usr/local/omniORB/lib \
@@ -25,7 +26,7 @@ LIB_DIR=/usr/local/omniORB/lib \
 CC=g++
 CXX_DEBUG_FLAGS=-g -DVERBOSE_DEBUG
 CXX_RELEASE_FLAGS=-O3
-CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++0x -Wno-unused-local-typedefs
+CXX_DEFAULT_FLAGS=-c -Wall -Wextra -std=c++0x -Wno-unused-local-typedefs -DHAVE_BOOST
 LDFLAGS=-Wall -lomniORB4 -lomniDynamic4 -lCOS4 -lomnithread -ltango -llog4tango \
 	-lsoci_core -lsoci_mysql -lmysqlclient -lboost_system -lboost_thread \
 	-lboost_filesystem -lboost_date_time -lprotobuf -lssl -lcrypto -lpthread
-- 
GitLab