summaryrefslogtreecommitdiffhomepage
path: root/plugins/weblog
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-03 09:31:51 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-03 09:31:51 +0100
commit2b6f8123e925e3be8ce7c04eccdd49fc728314a5 (patch)
tree78e86bb428b3bc821ae84d0f6abe86136356bd1a /plugins/weblog
parent5581340f23b31114d33736c630de849898668f38 (diff)
Separated out libcommon as libreichwein
Diffstat (limited to 'plugins/weblog')
-rw-r--r--plugins/weblog/Makefile8
-rw-r--r--plugins/weblog/weblog.cpp4
2 files changed, 3 insertions, 9 deletions
diff --git a/plugins/weblog/Makefile b/plugins/weblog/Makefile
index 6cec97a..710a3cd 100644
--- a/plugins/weblog/Makefile
+++ b/plugins/weblog/Makefile
@@ -7,7 +7,6 @@ CXXFLAGS+= -fvisibility=hidden -fPIC
CXXFLAGS+= -I../..
LDLIBS=\
--lcommon \
-lboost_context \
-lboost_coroutine \
-lboost_program_options \
@@ -19,8 +18,6 @@ LDLIBS=\
-lssl -lcrypto \
-ldl
-LDFLAGS+=-L../../libcommon
-
PROGSRC=\
weblog.cpp
@@ -28,12 +25,9 @@ SRC=$(PROGSRC)
all: $(PROJECTNAME).so
-$(PROJECTNAME).so: ../../libcommon/libcommon.a $(SRC:.cpp=.o)
+$(PROJECTNAME).so: $(SRC:.cpp=.o)
$(CXX) $(LDFLAGS) $^ -shared $(LDLIBS) $(LIBS) -o $@
-../../libcommon/libcommon.a:
- cd ../.. && $(MAKE) libcommon/libcommon.a
-
%.d: %.cpp
$(CXX) $(CXXFLAGS) -MM -MP -MF $@ -c $<
diff --git a/plugins/weblog/weblog.cpp b/plugins/weblog/weblog.cpp
index c26a4fe..8be5b40 100644
--- a/plugins/weblog/weblog.cpp
+++ b/plugins/weblog/weblog.cpp
@@ -1,7 +1,7 @@
#include "weblog.h"
-#include "libcommon/mime.h"
-#include "libcommon/stringutil.h"
+#include "libreichwein/mime.h"
+#include "libreichwein/stringutil.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>