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:
13
fix-pkg-config-file.patch
Normal file
13
fix-pkg-config-file.patch
Normal 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
|
||||
Reference in New Issue
Block a user