Omit CGI filter on Windows
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 19 May 2010 14:11:19 +0000 (16:11 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 19 May 2010 14:11:19 +0000 (16:11 +0200)
src/factory_static.cpp
win/makefile

index 59709e5..51cb3fc 100644 (file)
@@ -30,7 +30,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include "filter_auth_simple.hpp"
 #include "filter_backend_test.hpp"
 #include "filter_bounce.hpp"
+#ifndef WIN32
 #include "filter_cgi.hpp"
+#endif
 #include "filter_cql_to_rpn.hpp"
 #include "filter_frontend_net.hpp"
 #include "filter_http_file.hpp"
@@ -55,7 +57,9 @@ mp::FactoryStatic::FactoryStatic()
         &metaproxy_1_filter_auth_simple,
         &metaproxy_1_filter_backend_test,
         &metaproxy_1_filter_bounce,
+#ifndef WIN32
         &metaproxy_1_filter_cgi,
+#endif
         &metaproxy_1_filter_cql_to_rpn,
         &metaproxy_1_filter_frontend_net,        
         &metaproxy_1_filter_http_file,
index 8dd29d0..f64d6eb 100644 (file)
@@ -191,10 +191,7 @@ LINK_LIBS=kernel32.lib user32.lib gdi32.lib advapi32.lib uuid.lib \
           $(YAZ_LIB) $(YAZPP_LIB) $(ICONV_LIB) $(LIBXSLT_LIB) \
          $(BOOST_LIB) 
 
-COMMON_LNK_OPTIONS= /nologo \
-                  /subsystem:windows \
-                  /machine:i386 \
-                 /incremental:no
+COMMON_LNK_OPTIONS= /nologo /subsystem:windows /incremental:no
 
 DEBUG_LNK_OPTIONS= /debug 
 
@@ -226,7 +223,6 @@ PROJECT_DLL_OBJS = \
        $(OBJDIR)\filter_auth_simple.obj \
         $(OBJDIR)\filter_backend_test.obj \
         $(OBJDIR)\filter_bounce.obj \
-       $(OBJDIR)\filter_cgi.obj \
         $(OBJDIR)\filter_cql_to_rpn.obj \
        $(OBJDIR)\filter_frontend_net.obj \
        $(OBJDIR)\filter_http_file.obj \