Fix libsub pkg-config filename.
authorCarl Hetherington <cth@carlh.net>
Mon, 22 Dec 2014 00:22:26 +0000 (00:22 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 22 Dec 2014 00:22:26 +0000 (00:22 +0000)
wscript

diff --git a/wscript b/wscript
index 1cd7b9d6f1d689b31570dcc7a6512fb33a7004bc..c990dc9b50971b42b16371d3bcbf45d28cb24629 100644 (file)
--- a/wscript
+++ b/wscript
@@ -61,7 +61,7 @@ def dynamic_openjpeg(conf):
     conf.check_cfg(package='libopenjpeg', args='--cflags --libs', max_version='1.5.2', mandatory=True)
 
 def static_sub(conf):
-    conf.check_cfg(package='libsub', atleast_version='0.01.0', args='--cflags', uselib_store='SUB', mandatory=True)
+    conf.check_cfg(package='libsub-1.0', atleast_version='0.01.0', args='--cflags', uselib_store='SUB', mandatory=True)
     conf.env.DEFINES_SUB = [f.replace('\\', '') for f in conf.env.DEFINES_SUB]
     conf.env.STLIB_SUB = ['sub']