From ee8a2fc9706c61a8027ee1aacc73919db2b7c614 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 13 Jun 2025 21:51:49 +0200 Subject: [PATCH] Fix librubberband API detection #9948 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 008b6da721..250120080d 100644 --- a/wscript +++ b/wscript @@ -1182,7 +1182,7 @@ def configure(conf): define_name= 'HAVE_RUBBERBAND_3_0_0', fragment = ''' #include -#if RUBBERBAND_API_MAJOR_VERSION >= 2 && RUBBERBAND_API_MINOR_VERSION >= 7 +#if (RUBBERBAND_API_MAJOR_VERSION >= 2 && RUBBERBAND_API_MINOR_VERSION >= 7) || RUBBERBAND_API_MAJOR_VERSION >= 3 int main () { return 0; } #else #error