SHA256
8
0
forked from pool/zxing-cpp

Accepting request 833742 from home:alarrosa:branches:devel:libraries:c_c++

- Add fix for pkg-config file so the version and library are set properly
  in the resulting .pc file:
  * fix-pkg-config-file.patch

OBS-URL: https://build.opensuse.org/request/show/833742
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=11
This commit is contained in:
2020-09-11 11:30:17 +00:00
committed by Git OBS Bridge
parent 29ffa6253f
commit ed683f1682
3 changed files with 22 additions and 1 deletions

13
fix-pkg-config-file.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: zxing-cpp-1.1.0/zxing.pc.in
===================================================================
--- zxing-cpp-1.1.0.orig/zxing.pc.in
+++ zxing-cpp-1.1.0/zxing.pc.in
@@ -5,6 +5,6 @@ includedir=${prefix}/@CMAKE_INSTALL_INCL
Name: ZXing
Description: ZXing library set
-Version: @VERSION@
-Libs: -L${libdir} -l@TARGET_ZXING@
+Version: @PROJECT_VERSION@
+Libs: -L${libdir} -lZXing
Cflags: -I${includedir} -I${includedir}/ZXing