don't link with boost anymore as regex is handled by std now

This commit is contained in:
Albert S. 2020-03-29 21:24:31 +02:00
parent 8595978560
commit b53aeadb8e
5 changed files with 1 additions and 6 deletions

View File

@ -2,10 +2,8 @@ FROM alpine:edge
RUN apk update RUN apk update
RUN apk upgrade RUN apk upgrade
RUN apk add sqlite-dev RUN apk add sqlite-dev
RUN apk add boost-regex
RUN apk add openssl-dev RUN apk add openssl-dev
RUN apk add make g++ RUN apk add make g++
RUN apk add boost-dev
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
RUN adduser -D qswiki RUN adduser -D qswiki

View File

@ -2,7 +2,7 @@
CXXFLAGS=-std=c++17 -O0 -g -no-pie -pipe -MMD -Wall -Wextra CXXFLAGS=-std=c++17 -O0 -g -no-pie -pipe -MMD -Wall -Wextra
RELEASE_CXXFLAGS=-std=c++17 -O3 -pipe -MMD -Wall -Wextra RELEASE_CXXFLAGS=-std=c++17 -O3 -pipe -MMD -Wall -Wextra
LDFLAGS=-lsqlite3 -lpthread -lcrypto -lboost_regex -lstdc++fs -lseccomp LDFLAGS=-lsqlite3 -lpthread -lcrypto -lstdc++fs -lseccomp
CXX=g++ CXX=g++

View File

@ -1,6 +1,5 @@
#ifndef PARSER_H #ifndef PARSER_H
#define PARSER_H #define PARSER_H
#include <boost/regex.hpp>
#include "iparser.h" #include "iparser.h"
class Parser : public IParser class Parser : public IParser

View File

@ -24,7 +24,6 @@ SOFTWARE.
#include <map> #include <map>
#include <cstdlib> #include <cstdlib>
#include <fstream> #include <fstream>
#include <boost/regex.hpp>
#include "logger.h" #include "logger.h"
#include "utils.h" #include "utils.h"

View File

@ -8,7 +8,6 @@
#include <map> #include <map>
#include <regex> #include <regex>
#include <ctime> #include <ctime>
#include <boost/regex.hpp>
namespace utils namespace utils
{ {