summaryrefslogtreecommitdiffhomepage
path: root/plugins/static-files
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/static-files')
-rw-r--r--plugins/static-files/Makefile8
-rw-r--r--plugins/static-files/static-files.cpp4
2 files changed, 3 insertions, 9 deletions
diff --git a/plugins/static-files/Makefile b/plugins/static-files/Makefile
index 7c817fb..689d085 100644
--- a/plugins/static-files/Makefile
+++ b/plugins/static-files/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=\
static-files.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/static-files/static-files.cpp b/plugins/static-files/static-files.cpp
index ad78e48..e889bc5 100644
--- a/plugins/static-files/static-files.cpp
+++ b/plugins/static-files/static-files.cpp
@@ -1,7 +1,7 @@
#include "static-files.h"
-#include "libcommon/mime.h"
-#include "libcommon/url.h"
+#include "libreichwein/mime.h"
+#include "libreichwein/url.h"
#include <boost/algorithm/string/predicate.hpp>