mirror of
https://github.com/xiph/opus.git
synced 2025-05-31 15:47:43 +00:00
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>
This commit is contained in:
parent
23c591318e
commit
26c3bbbe8f
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ if not opt_asm.disabled()
|
|||
endif
|
||||
endif
|
||||
|
||||
if cc.get_define('__APPLE__')
|
||||
if cc.get_define('__APPLE__') != ''
|
||||
arm2gnu_args = ['--apple']
|
||||
else
|
||||
arm2gnu_args = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue