summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-01 22:51:57 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-01 22:51:57 +0100
commite0654738924173412ee4a5b703c66b05a2f7e964 (patch)
tree82a4e6141e5f950da5999e1145417635890f50e5 /wscript
parent6f0f0fade349d956f31b519bc7a8ce87d34ab092 (diff)
Try to fix Centos build.
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index f33dcef83..7924decea 100644
--- a/wscript
+++ b/wscript
@@ -236,6 +236,10 @@ def configure(conf):
if conf.env.TARGET_DEBIAN:
# libxml2 seems to be linked against this on Ubuntu but it doesn't mention it in its .pc file
conf.check_cfg(package='liblzma', args='--cflags --libs', uselib_store='LZMA', mandatory=True)
+
+ if conf.env.TARGET_CENTOS_6 or conf.env.TARGET_CENTOS_7:
+ # libavcodec seems to be linked against this on Centos
+ conf.check_cfg(package='liblzma', args='--cflags --libs', uselib_store='LZMA', mandatory=True)
if not conf.env.DISABLE_GUI and conf.env.TARGET_LINUX:
conf.check_cfg(package='gtk+-2.0', args='--cflags --libs', uselib_store='GTK', mandatory=True)