summaryrefslogtreecommitdiff
path: root/libxerces-c/xercesc/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-09-12 08:58:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-10-05 09:46:02 +0200
commit7683a8b7a9e8f4be61a5dee67667db54646d80d3 (patch)
tree39fcc139d34e56be03f2045b21a05e2d6d290c5b /libxerces-c/xercesc/buildfile
parent7a9ad23a9ec80a37308ab75c23c67da57287dd80 (diff)
Release version 3.2.4+2v3.2.4+2
- Don't insist on LIBXERCES_C_{SHARED,STATIC} for non-Windows platforms. - Don't link winsock if network support is disabled. - Add binary distribution package build configurations.
Diffstat (limited to 'libxerces-c/xercesc/buildfile')
-rw-r--r--libxerces-c/xercesc/buildfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/libxerces-c/xercesc/buildfile b/libxerces-c/xercesc/buildfile
index 15f61b1..88cf9b1 100644
--- a/libxerces-c/xercesc/buildfile
+++ b/libxerces-c/xercesc/buildfile
@@ -126,7 +126,8 @@ switch $tclass, $tsys
#
cxx.loptions += -Wl,--no-undefined
- cxx.libs += -lws2_32
+ if $network
+ cxx.libs += -lws2_32
}
case 'windows'
{
@@ -137,7 +138,8 @@ switch $tclass, $tsys
if! $transcoder_icu
cxx.libs += advapi32.lib
- cxx.libs += ws2_32.lib
+ if $network
+ cxx.libs += ws2_32.lib
}
case 'linux'
{