configure-fix-passing-system-bzip2-ldflags.patch 901 B

1234567891011121314151617181920212223242526
  1. From 9855927c896eaeecb21c1541942ee6d557144183 Mon Sep 17 00:00:00 2001
  2. From: anthraxx <levente@leventepolyak.net>
  3. Date: Sun, 8 Nov 2020 13:26:47 +0100
  4. Subject: [PATCH] configure: fix passing system bzip2 ldflags
  5. ---
  6. comm/third_party/openpgp.configure | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/comm/third_party/openpgp.configure b/comm/third_party/openpgp.configure
  9. index 2f9c796..2cbc907 100644
  10. --- a/comm/third_party/openpgp.configure
  11. +++ b/comm/third_party/openpgp.configure
  12. @@ -80,7 +80,7 @@ with only_when('--enable-compile-environment'):
  13. if bzip2_pkg:
  14. cflags = list(bzip2_pkg.cflags)
  15. libs = bzip2_pkg.libs
  16. - return namespace(cflags=cflags, libs=libs, path=(value[0]), )
  17. + return namespace(cflags=cflags, ldflags=libs, )
  18. # Fallback
  19. return namespace(
  20. ldflags=['-lbz2'],
  21. --
  22. 2.28.0