diff options
Diffstat (limited to 'plugins/cgi')
-rw-r--r-- | plugins/cgi/Makefile | 9 | ||||
-rw-r--r-- | plugins/cgi/cgi.cpp | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/plugins/cgi/Makefile b/plugins/cgi/Makefile index df51e89..fd8e98d 100644 --- a/plugins/cgi/Makefile +++ b/plugins/cgi/Makefile @@ -7,7 +7,7 @@ CXXFLAGS+= -fvisibility=hidden -fPIC CXXFLAGS+= -I../.. LDLIBS=\ --lcommon \ +-lreichwein \ -lboost_context \ -lboost_coroutine \ -lboost_program_options \ @@ -19,8 +19,6 @@ LDLIBS=\ -lssl -lcrypto \ -ldl -LDFLAGS+=-L../../libcommon - PROGSRC=\ cgi.cpp @@ -28,12 +26,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/cgi/cgi.cpp b/plugins/cgi/cgi.cpp index b2af9fa..4e4f6c7 100644 --- a/plugins/cgi/cgi.cpp +++ b/plugins/cgi/cgi.cpp @@ -1,6 +1,6 @@ #include "cgi.h" -#include "libcommon/mime.h" +#include "libreichwein/mime.h" #include <boost/algorithm/string/predicate.hpp> #include <boost/coroutine2/coroutine.hpp> |