summaryrefslogtreecommitdiffstats
path: root/modules/dav
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2005-04-18 21:54:33 +0200
committerBradley Nicholes <bnicholes@apache.org>2005-04-18 21:54:33 +0200
commit93e638300b205ecd4b5cc7c55461196f26a0d9cd (patch)
treeb0e4cd574e25b5526f8c6aa0d39834e5492698ff /modules/dav
parentFix the logfile names in windows to have a .log extension. (diff)
downloadapache2-93e638300b205ecd4b5cc7c55461196f26a0d9cd.tar.xz
apache2-93e638300b205ecd4b5cc7c55461196f26a0d9cd.zip
Link to the correct socket library depending on which one is selected
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161791 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/dav')
-rw-r--r--modules/dav/fs/NWGNUmakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/dav/fs/NWGNUmakefile b/modules/dav/fs/NWGNUmakefile
index d4307a7673..3e596613fb 100644
--- a/modules/dav/fs/NWGNUmakefile
+++ b/modules/dav/fs/NWGNUmakefile
@@ -219,10 +219,15 @@ FILES_nlm_Ximports = \
@libc.imp \
@$(APR)/aprlib.imp \
@httpd.imp \
- @ws2nlm.imp \
@../main/dav.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
#