diff mbox series

meson: Mingw64 gcc doesn't recognize system include_type for sdl2

Message ID 20200825001649.1811-1-luoyonggang@gmail.com
State New
Headers show
Series meson: Mingw64 gcc doesn't recognize system include_type for sdl2 | expand

Commit Message

罗勇刚(Yonggang Luo) Aug. 25, 2020, 12:16 a.m. UTC
From: Yonggang Luo <luoyonggang@gmail.com>

---
 meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index df5bf728b5..a3585881e1 100644
--- a/meson.build
+++ b/meson.build
@@ -224,8 +224,7 @@  if 'CONFIG_BRLAPI' in config_host
   brlapi = declare_dependency(link_args: config_host['BRLAPI_LIBS'].split())
 endif
 
-sdl = dependency('sdl2', required: get_option('sdl'), static: enable_static,
-                 include_type: 'system')
+sdl = dependency('sdl2', required: get_option('sdl'), static: enable_static)
 sdl_image = not_found
 if sdl.found()
   # work around 2.0.8 bug