zxing-cpp/fix-pkg-config-file.patch
Dirk Mueller b64282e788 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
2020-09-11 11:30:17 +00:00

14 lines
435 B
Diff

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