]> granicus.if.org Git - apache/commitdiff
Fixed mod_lua NetWare build.
authorGuenter Knauf <fuankg@apache.org>
Mon, 10 Mar 2014 00:57:32 +0000 (00:57 +0000)
committerGuenter Knauf <fuankg@apache.org>
Mon, 10 Mar 2014 00:57:32 +0000 (00:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1575784 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/NWGNUmakefile

index 15e6c91e76ccfc04895146584b44dddf5d26befd..fd86b3c9ee6de33b2cf50999e1b4a1816f8aa63b 100644 (file)
@@ -185,6 +185,7 @@ FILES_nlm_objs = \
        $(OBJDIR)/lua_request.o \
        $(OBJDIR)/lua_vmprep.o \
        $(OBJDIR)/lua_dbd.o \
+       $(OBJDIR)/libprews.o \
        $(EOLIST)
 
 #
@@ -229,6 +230,12 @@ FILES_nlm_Ximports = \
        @libc.imp \
        $(EOLIST)
 
+# Don't link with Winsock if standard sockets are being used
+ifndef USE_STDSOCKETS
+FILES_nlm_Ximports += @ws2nlm.imp \
+       $(EOLIST)
+endif
+
 #
 # Any symbols exported to here
 #
@@ -265,7 +272,7 @@ install :: nlms FORCE
 # Any specialized rules here
 #
 
-vpath %.c $(LUASRC)/src
+vpath %.c $(LUASRC)/src ../arch/netware
 
 #
 # Include the 'tail' makefile that has targets that depend on variables defined