summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-08 15:39:00 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-08 15:39:00 +0200
commit0b58dfebe6070ace895fdc3970020b2d01799269 (patch)
treefb996026d43655afe8da3ba51de7f7274f38039f /src
parent7280e10e8bfa507953d8c823abd502db98c514fa (diff)
downloadcrawler-0b58dfebe6070ace895fdc3970020b2d01799269.tar.gz
crawler-0b58dfebe6070ace895fdc3970020b2d01799269.tar.bz2
compilation fix lua (how did it ever work!)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/crawl/crawl.cpp2
-rw-r--r--src/modules/processor/robotstxt/GNUmakefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/crawl/crawl.cpp b/src/crawl/crawl.cpp
index 82cb690..14a02dd 100755
--- a/src/crawl/crawl.cpp
+++ b/src/crawl/crawl.cpp
@@ -90,7 +90,7 @@ int main( int /* argc */, char *argv[] )
normalizerModules.push_back( ".\\modules\\urlnormalizer\\simpleurl\\mod_urlnormalizer_simple.dll" );
normalizerModules.push_back( ".\\modules\\urlnormalizer\\googleurl\\mod_urlnormalizer_googleurl.dll" );
#endif
- ModuleLoader<URLNormalizer> urlNormalizers( normalizerModules );
+ ModuleLoader<URLNormalizer> urlNormalizers( normalizerModules, CLOSE_DEFERRED, (void *)&luaVm );
vector<string> filterModules;
#ifndef _WIN32
diff --git a/src/modules/processor/robotstxt/GNUmakefile b/src/modules/processor/robotstxt/GNUmakefile
index cbfe420..c8ffd4e 100644
--- a/src/modules/processor/robotstxt/GNUmakefile
+++ b/src/modules/processor/robotstxt/GNUmakefile
@@ -6,6 +6,7 @@ SUBDIRS =
INCLUDE_DIRS = \
-I. -I$(TOPDIR)/src \
+ -I$(TOPDIR)/include \
-I$(TOPDIR)/include/logger \
-I$(TOPDIR)/include/util \
-I$(TOPDIR)/include/module \