From c757efa3ee6f395e3ada3088065c73eb953f6834 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 14 Oct 2014 13:08:41 +0200 Subject: added initialize_libcrawler instead of silly tolua trick in the main program --- src/libcrawler/GNUmakefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/libcrawler/GNUmakefile') diff --git a/src/libcrawler/GNUmakefile b/src/libcrawler/GNUmakefile index d546058..e337c4f 100755 --- a/src/libcrawler/GNUmakefile +++ b/src/libcrawler/GNUmakefile @@ -4,7 +4,12 @@ SUBDIRS = -include $(TOPDIR)/makefiles/gmake/platform.mk -INCLUDE_CPPFLAGS = \ +INCLUDE_CXXFLAGS = \ + +ifeq ($(WITH_LUA),1) +INCLUDE_CXXFLAGS += \ + -DWITH_LUA +endif INCLUDE_LDFLAGS = \ @@ -43,7 +48,8 @@ DYNAMIC_LIB_PATCH = 0 CPP_OBJS = \ URL.o \ MIMEType.o \ - SpoolRewindInputStream.o + SpoolRewindInputStream.o \ + libcrawler.o ifeq ($(WITH_LUA),1) CPP_OBJS += \ -- cgit v1.2.3-54-g00ecf