Another build fix.
authorCarl Hetherington <cth@carlh.net>
Sun, 10 May 2015 12:32:13 +0000 (13:32 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 10 May 2015 12:32:13 +0000 (13:32 +0100)
wscript

diff --git a/wscript b/wscript
index 1ba0db01c45344d5ee29946cd399224d6a91168b..f035de67adab9c22e052c497a0aa268070b45f2e 100644 (file)
--- a/wscript
+++ b/wscript
@@ -229,7 +229,7 @@ def configure(conf):
     if conf.options.static_sub:
         conf.check_cfg(package='libsub-1.0', atleast_version='1.00.0', args='--cflags', uselib_store='DCP', mandatory=True)
         conf.env.DEFINES_SUB = [f.replace('\\', '') for f in conf.env.DEFINES_SUB]
     if conf.options.static_sub:
         conf.check_cfg(package='libsub-1.0', atleast_version='1.00.0', args='--cflags', uselib_store='DCP', mandatory=True)
         conf.env.DEFINES_SUB = [f.replace('\\', '') for f in conf.env.DEFINES_SUB]
-        conf.env.STLIB_SUB = ['sub']
+        conf.env.STLIB_SUB = ['sub-1.0']
     else:
         conf.check_cfg(package='libsub-1.0', atleast_version='1.00.0', args='--cflags --libs', uselib_store='DCP', mandatory=True)
         conf.env.DEFINES_SUB = [f.replace('\\', '') for f in conf.env.DEFINES_SUB]
     else:
         conf.check_cfg(package='libsub-1.0', atleast_version='1.00.0', args='--cflags --libs', uselib_store='DCP', mandatory=True)
         conf.env.DEFINES_SUB = [f.replace('\\', '') for f in conf.env.DEFINES_SUB]