You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
728 B

  1. From c41ebea4bb220c8fe252f472eec836c691734690 Mon Sep 17 00:00:00 2001
  2. From: Glenn Strauss <gstrauss@gluelogic.com>
  3. Date: Fri, 2 Apr 2021 01:01:02 -0400
  4. Subject: [PATCH] [build] fix zstd option in meson (fixes #3076)
  5. (thx KimonHoffmann)
  6. x-ref:
  7. "Fix zstd dependency handling in meson build"
  8. https://redmine.lighttpd.net/issues/3076
  9. Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
  10. ---
  11. src/meson.build | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. --- a/src/meson.build
  14. +++ b/src/meson.build
  15. @@ -685,7 +685,7 @@ endif
  16. libzstd = []
  17. if get_option('with_zstd')
  18. - libz = dependency('zstd', required: false)
  19. + libzstd = dependency('zstd', required: false)
  20. if libzstd.found()
  21. libzstd = [ libzstd ]
  22. else