summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-12-13 17:10:51 +0100
committerCarl Hetherington <cth@carlh.net>2019-12-14 00:44:11 +0100
commit09f642570122be890af01f253f4f9d5ccb996886 (patch)
tree0025b284f26974e6dec3e4a2eed5adb7374b4cca /wscript
parent049a815e8b07b1f186b15f6eb4d3a6d81fecbf25 (diff)
Fix win32 build with xerces.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 5de4fde5..957fd346 100644
--- a/wscript
+++ b/wscript
@@ -126,6 +126,10 @@ def configure(conf):
conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=False)
conf.check_cfg(package='xerces-c', args='--cflags --libs', uselib_store='XERCES', mandatory=True)
+ if conf.options.target_windows:
+ # XXX: it feels like there should be a more elegant way to get these included
+ conf.env.LIB_XERCES.append('curl')
+ conf.env.LIB_XERCES.append('ws2_32')
if conf.options.static:
if conf.options.jpeg == 'oj2':