meson: Drop libdl from renderdoc feature

This commit is contained in:
Matt Borgerson 2023-01-23 00:30:40 -07:00
parent 16727a386e
commit a46837e8d3
2 changed files with 1 additions and 6 deletions

View File

@ -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') \

View File

@ -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)