Dirk Mueller
b64282e788
- 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
14 lines
435 B
Diff
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
|