summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript b/wscript
index bcd658e6e2..62ea9c2998 100644
--- a/wscript
+++ b/wscript
@@ -214,6 +214,11 @@ main_dependencies = [
'atomic_int_least64_t test = ATOMIC_VAR_INIT(123);'
'atomic_fetch_add(&test, 1)'))
}, {
+ # C11; technically we still support C99
+ 'name': 'aligned_alloc',
+ 'desc': 'C11 aligned_alloc()',
+ 'func': check_statement('stdlib.h', 'aligned_alloc(1, 1)'),
+ }, {
'name': 'atomics',
'desc': 'stdatomic.h support or slow emulation',
'func': check_true,
@@ -386,6 +391,7 @@ iconv support use --disable-iconv.",
'func': check_pkg_config('rubberband', '>= 1.8.0'),
}, {
'name': '--zimg',
+ 'deps': 'aligned_alloc',
'desc': 'libzimg support (for vf_fingerprint)',
'func': check_pkg_config('zimg', '>= 2.9'),
}, {