qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] meson: Mingw64 gcc doesn't recognize system include_type for


From: Marc-André Lureau
Subject: Re: [PATCH] meson: Mingw64 gcc doesn't recognize system include_type for sdl2
Date: Tue, 25 Aug 2020 14:25:20 +0400

Hi

On Tue, Aug 25, 2020 at 4:17 AM <luoyonggang@gmail.com> wrote:
From: Yonggang Luo <luoyonggang@gmail.com>

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

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
--
2.27.0.windows.1



Which version of gcc are you using?

Paolo, why did you you -isystem includes here? (if it's on purpose, it's worth to document it in build-system.rst since it takes sdl as an example and doesn't mention this)


--
Marc-André Lureau

reply via email to

[Prev in Thread] Current Thread [Next in Thread]