summaryrefslogtreecommitdiffstats
path: root/support/NWGNUlogres
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 /support/NWGNUlogres
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 'support/NWGNUlogres')
-rw-r--r--support/NWGNUlogres7
1 files changed, 6 insertions, 1 deletions
diff --git a/support/NWGNUlogres b/support/NWGNUlogres
index 023c8e44da..982cdb78b1 100644
--- a/support/NWGNUlogres
+++ b/support/NWGNUlogres
@@ -211,9 +211,14 @@ FILE_nlm_copyright =
FILES_nlm_Ximports = \
@$(APR)/aprlib.imp \
@libc.imp \
- @ws2nlm.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
#