cfd87cb63316608e7f2a64f68eedcc09cc03d0da.patch 815 B

12345678910111213141516171819202122232425
  1. From cfd87cb63316608e7f2a64f68eedcc09cc03d0da Mon Sep 17 00:00:00 2001
  2. From: Michael Webster <miketwebster@gmail.com>
  3. Date: Sat, 16 Jul 2022 13:56:13 -0400
  4. Subject: [PATCH] Don't try to throw an error if libxdo can't be found - meson
  5. will already do this if required == true.
  6. ---
  7. meson.build | 3 ---
  8. 1 file changed, 3 deletions(-)
  9. diff --git a/meson.build b/meson.build
  10. index 3ef0fd0..e139718 100644
  11. --- a/meson.build
  12. +++ b/meson.build
  13. @@ -48,9 +48,6 @@ m = cc.find_library('m')
  14. xdo = dependency('libxdo', required: false)
  15. if not xdo.found()
  16. xdo = cc.find_library('xdo')
  17. - if not xdo.found()
  18. - error('could not find usable xdo library (libxdo')
  19. - endif
  20. endif
  21. dbus_services_dir = dependency('dbus-1').get_pkgconfig_variable('session_bus_services_dir', define_variable: ['datadir', datadir])