From 57584c74b859cdedde01ae51954933ac673e09fd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 15 Dec 2019 00:40:50 +0100 Subject: Windows build fix. --- wscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index c356913e..ba070dbc 100644 --- a/wscript +++ b/wscript @@ -126,11 +126,6 @@ def configure(conf): conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=False) - 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': conf.check_cfg(package='libopenjp2', args='--cflags', atleast_version='2.1.0', uselib_store='OPENJPEG', mandatory=True) @@ -156,6 +151,11 @@ def configure(conf): conf.check_cfg(package='libcxml', atleast_version='0.16.0', args='--cflags --libs', uselib_store='CXML', mandatory=True) 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.target_windows: boost_lib_suffix = '-mt' else: -- cgit v1.2.3