summaryrefslogtreecommitdiffhomepage
path: root/plugins/webbox
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/webbox')
-rw-r--r--plugins/webbox/Makefile8
-rw-r--r--plugins/webbox/webbox.cpp10
2 files changed, 6 insertions, 12 deletions
diff --git a/plugins/webbox/Makefile b/plugins/webbox/Makefile
index 4be08d1..5e4dab8 100644
--- a/plugins/webbox/Makefile
+++ b/plugins/webbox/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=\
webbox.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/webbox/webbox.cpp b/plugins/webbox/webbox.cpp
index ac54394..90975b5 100644
--- a/plugins/webbox/webbox.cpp
+++ b/plugins/webbox/webbox.cpp
@@ -1,10 +1,10 @@
#include "webbox.h"
-#include "libcommon/mime.h"
-#include "libcommon/tempfile.h"
-#include "libcommon/file.h"
-#include "libcommon/stringutil.h"
-#include "libcommon/url.h"
+#include "libreichwein/mime.h"
+#include "libreichwein/tempfile.h"
+#include "libreichwein/file.h"
+#include "libreichwein/stringutil.h"
+#include "libreichwein/url.h"
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>