ref: 26c3bbbe8f58c233714efae9cd758104c8de938e
parent: 23c591318e63f9f38a2d60b361230f148e29fb70
author: Rudi Heitbaum <rudi@heitbaum.com>
date: Mon Aug 21 15:46:18 EDT 2023
meson fix comparison cc.get_define returns str (not bool) Fixes: Fetching value of define "__APPLE__" : ../meson.build:316:12: ERROR: Object <[StringHolder] holds [str]: ''> of type str does not support the `bool()` operator. Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
--- a/meson.build
+++ b/meson.build
@@ -329,7 +329,7 @@
endif
endif
- if cc.get_define('__APPLE__')+ if cc.get_define('__APPLE__') != ''arm2gnu_args = ['--apple']
else
arm2gnu_args = []
--
⑨