diff --git a/test cases/osx/4 framework/meson.build b/test cases/osx/4 framework/meson.build index 859d34e85..4cd345fc9 100644 --- a/test cases/osx/4 framework/meson.build +++ b/test cases/osx/4 framework/meson.build @@ -21,6 +21,8 @@ else error('OpenGL framework not found') endif assert(dep_libs.type_name() == 'appleframeworks', 'type_name is wrong') + # Only add the C compiler now, to ensure all lookups above were done with the ObjC one. + add_languages('c') stlib = static_library('stat', 'stat.c', install : true, dependencies: dep_libs) exe = executable('prog', 'prog.c', install : true, dependencies: dep_main) uikit_dep = dependency('appleframeworks', modules: 'UIKit', required: false)