summaryrefslogtreecommitdiff
path: root/usbredirparser/libusbredirparser-0.5.pc.in
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-09-25 12:41:59 +0200
committerHans de Goede <hdegoede@redhat.com>2012-09-25 12:58:17 +0200
commitdca68e5664b3dc4f7e91b5df4b8656b5e8386b6e (patch)
treedfb90ef1444bfcee639c773448aefc48d88df5f1 /usbredirparser/libusbredirparser-0.5.pc.in
parenta7ca5b2569106561e6846bd1699ba5397dc13f68 (diff)
Rename libusbredirparser.pc to libusbredirparser-0.5.pcusbredir-0.5.2
The usbredir 0.5 release introduced the new API for 64 bit packet ids, but it kept the libusbredirparser.pc name as is, meaning that older versions of qemu will still have their pkg-config check for usbredirparser fulfilled, and build with the usb-redir device. Due to the API change there will be some compiler warnings, but the build will succeed, however the usb-redir device will be broken on 32 bit machines. To solve this, this patch renames the libusbredirparser.pc file to libusbredirparser-0.5.pc, so that it will no longer fulfill the pkg-config check of the qemu-1.2 and older releases, stopping the (silent) breakage. A patch has been send to qemu-devel to adjusts qemu master's configure. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'usbredirparser/libusbredirparser-0.5.pc.in')
-rw-r--r--usbredirparser/libusbredirparser-0.5.pc.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/usbredirparser/libusbredirparser-0.5.pc.in b/usbredirparser/libusbredirparser-0.5.pc.in
new file mode 100644
index 0000000..4fc7acd
--- /dev/null
+++ b/usbredirparser/libusbredirparser-0.5.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libusbredirparser-0.5
+Description: usbredirparser library
+Version: @VERSION@
+Libs: -L${libdir} -lusbredirparser
+Cflags: -I${includedir}