qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] meson: Add missing SDL dependency to system/main.c


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] meson: Add missing SDL dependency to system/main.c
Date: Tue, 3 Dec 2024 16:41:05 +0100
User-agent: Mozilla Thunderbird

On 20/11/24 12:49, Philippe Mathieu-Daudé wrote:
When building QEMU configure with --disable-gtk --disable-cocoa
on macOS we get:

   ../system/main.c:30:10: fatal error: 'SDL.h' file not found
      30 | #include <SDL.h>
         |          ^~~~~~~
   1 error generated.

Fix by adding the SDL dependency to main.c it's CFLAGS contains
the SDL include directory.

Fixes: 64ed6f92ff ("meson: link emulators without Makefile.target")
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
Looking at commit 88c39c8693 ("Simplify softmmu/main.c") I wonder
if this header is still required.
---
  meson.build | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

Patch queued.



reply via email to

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