summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 5 insertions, 5 deletions
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)
@@ -157,6 +152,11 @@ def configure(conf):
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:
boost_lib_suffix = ''