diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-01 22:51:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-01 22:51:57 +0100 |
| commit | e0654738924173412ee4a5b703c66b05a2f7e964 (patch) | |
| tree | 82a4e6141e5f950da5999e1145417635890f50e5 /wscript | |
| parent | 6f0f0fade349d956f31b519bc7a8ce87d34ab092 (diff) | |
Try to fix Centos build.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |
