From a46837e8d38655af5788f2280c35f0966251712e Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Mon, 23 Jan 2023 00:30:40 -0700 Subject: [PATCH] meson: Drop libdl from renderdoc feature --- meson.build | 6 +----- ui/meson.build | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/meson.build b/meson.build index b01972cea3..90dbb74468 100644 --- a/meson.build +++ b/meson.build @@ -1770,11 +1770,7 @@ have_host_block_device = (targetos != 'darwin' or have_renderdoc = false if have_system and get_option('renderdoc').enabled() - if targetos == 'linux' and not libdl.found() - error('renderdoc required, but libdl was not found') - else - have_renderdoc = true - endif + have_renderdoc = true endif dbus_display = get_option('dbus_display') \ diff --git a/ui/meson.build b/ui/meson.build index 9dee04e34a..37dcc9a2ad 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -44,7 +44,6 @@ endif xemu_ss.add(when: 'CONFIG_LINUX', if_true: [xemu_gtk, files('xemu-os-utils-linux.c')]) xemu_ss.add(when: 'CONFIG_WIN32', if_true: files('xemu-os-utils-windows.c')) xemu_ss.add(when: 'CONFIG_DARWIN', if_true: files('xemu-os-utils-macos.m')) -xemu_ss.add(when: 'CONFIG_RENDERDOC', if_true: [libdl]) xemu_ss.add(imgui, implot, stb_image, noc, sdl, opengl, openssl, fa, fpng, json, httplib) softmmu_ss.add_all(xemu_ss)