meson: Set recursive for extract_all_objects()
authorDoug Nazar <nazard@nazar.ca>
Wed, 18 Aug 2021 00:15:05 +0000 (20:15 -0400)
committerDoug Nazar <nazard@nazar.ca>
Thu, 19 Aug 2021 17:23:25 +0000 (13:23 -0400)
Fixes the following warning:

WARNING: extract_all_objects called without setting recursive
keyword argument. Meson currently defaults to
non-recursive to maintain backward compatibility but
the default will be changed in the future.
orc-test\meson.build:16:0: ERROR: Fatal warnings enabled, aborting

orc-test/meson.build

index c1d6cd5..a3ca81b 100644 (file)
@@ -14,7 +14,7 @@ orc_test_shr = shared_library ('orc-test-' + orc_api,
   install : true)
 
 orc_test_sta = static_library ('orc-test-' + orc_api,
-  objects : orc_test_shr.extract_all_objects(),
+  objects : orc_test_shr.extract_all_objects(recursive: false),
   include_directories : orc_inc,
   c_args : orc_c_args + ['-DBUILDING_ORC_TEST'],
   dependencies : [libm, orc_dep],