diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-06 08:59:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-06 08:59:53 +0100 |
| commit | aba52dd5cc2fa9736fd9b007962923d4dae8c4a6 (patch) | |
| tree | aa206963eaf22e3be47d9a10f83553cfb57879fc /wscript | |
| parent | a06e701131b813bc42ae81b9c5e8c7dbbfea7eb9 (diff) | |
Hacks.libssa
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -18,6 +18,9 @@ def configure(conf): conf.env.append_value('CXXFLAGS', ['-Wall', '-Wextra', '-D_FILE_OFFSET_BITS=64', '-D__STDC_FORMAT_MACROS']) conf.env.append_value('CXXFLAGS', ['-DLIBSUB_VERSION="%s"' % VERSION]) + # Disable libxml++ deprecation warnings for now + conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-declarations']) + conf.env.ENABLE_DEBUG = conf.options.enable_debug conf.env.STATIC = conf.options.static conf.env.TARGET_WINDOWS = conf.options.target_windows @@ -30,6 +33,7 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-O3') conf.check_cfg(package='openssl', args='--cflags --libs', uselib_store='OPENSSL', mandatory=True) + conf.check_cfg(package='libass', args='--cflags --libs', uselib_store='LIBASS', mandatory=True) if conf.options.static: conf.env.HAVE_CXML = 1 |
