0003-gio-2.0.pc-include-libmount-in-Libs.private.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. From ee32416dec8462ee27c3c254100cf980b0889ce0 Mon Sep 17 00:00:00 2001
  2. From: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
  3. Date: Tue, 18 Oct 2016 23:04:50 +0530
  4. Subject: [PATCH] gio-2.0.pc: include libmount in Libs.private
  5. This helps with static linking. When application statically links with
  6. libgio, it needs to link against libmount explicitly. When it is
  7. mentioned in Libs.private, build system can figure out with which extra
  8. libs to link against with help of pkg-config.
  9. This build failure is detected by Buildroot autobuilder:
  10. http://autobuild.buildroot.net/results/fdf/fdf26abbed0014606a7788ce5d60828a0e871186
  11. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
  12. ---
  13. gio-2.0.pc.in | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. diff --git a/gio-2.0.pc.in b/gio-2.0.pc.in
  16. index 899af0c..7574eb7 100644
  17. --- a/gio-2.0.pc.in
  18. +++ b/gio-2.0.pc.in
  19. @@ -14,5 +14,5 @@ Version: @VERSION@
  20. Requires: glib-2.0 gobject-2.0
  21. Requires.private: gmodule-no-export-2.0
  22. Libs: -L${libdir} -lgio-2.0
  23. -Libs.private: @ZLIB_LIBS@ @NETWORK_LIBS@ @SELINUX_LIBS@ @COCOA_LIBS@ @CARBON_LIBS@
  24. +Libs.private: @ZLIB_LIBS@ @NETWORK_LIBS@ @SELINUX_LIBS@ @COCOA_LIBS@ @CARBON_LIBS@ @LIBMOUNT_LIBS@
  25. Cflags:
  26. --
  27. 2.6.2