0002-Tell-qmake-to-add-a-pkgconfig-file-to-ease-usage-wit.patch 894 B

12345678910111213141516171819202122232425262728
  1. From 14d4d3e7b5c748118acffddd397fb67b37fd5054 Mon Sep 17 00:00:00 2001
  2. From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
  3. Date: Thu, 24 Nov 2016 22:44:02 +0100
  4. Subject: [PATCH] Tell qmake to add a pkgconfig file to ease usage with
  5. applications
  6. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
  7. ---
  8. qextserialport.pro | 3 ++-
  9. 1 file changed, 2 insertions(+), 1 deletion(-)
  10. diff --git a/qextserialport.pro b/qextserialport.pro
  11. index 8d2c03a..2fcb39c 100644
  12. --- a/qextserialport.pro
  13. +++ b/qextserialport.pro
  14. @@ -42,7 +42,8 @@ TEMPLATE=lib
  15. include(src/qextserialport.pri)
  16. #create_prl is needed, otherwise, MinGW can't found libqextserialport1.a
  17. -CONFIG += create_prl
  18. +CONFIG += create_prl create_pc
  19. +QMAKE_PKGCONFIG_DESTDIR = pkgconfig
  20. #mac framework is designed for shared library
  21. macx:qesp_mac_framework:qesp_static: CONFIG -= qesp_static
  22. --
  23. 2.10.2