summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2013-09-14 12:55:53 +0200
committerGuenter Knauf <fuankg@apache.org>2013-09-14 12:55:53 +0200
commit83ead14410937b893d60537a779fb954cb072de6 (patch)
treeccf6550bfbac52bb8fea61e7752b6ec3aeb8cd1a /modules
parentFixed ap_ntoh64 argument. (diff)
downloadapache2-83ead14410937b893d60537a779fb954cb072de6.tar.xz
apache2-83ead14410937b893d60537a779fb954cb072de6.zip
Fixed mod_lua NetWare build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/lua/NWGNUmakefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/lua/NWGNUmakefile b/modules/lua/NWGNUmakefile
index 15e6c91e76..fd86b3c9ee 100644
--- a/modules/lua/NWGNUmakefile
+++ b/modules/lua/NWGNUmakefile
@@ -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