[Spice-devel] [PATCH] Define exec_prefix in .pc files

Christophe Fergeau cfergeau at redhat.com
Mon Dec 19 05:26:58 PST 2011


@libdir@ is expanded to ${exec_prefix}/lib on my machine so we
need exec_prefix to be defined in the .pc file.
---
 usbredirhost/libusbredirhost.pc.in     |    1 +
 usbredirparser/libusbredirparser.pc.in |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/usbredirhost/libusbredirhost.pc.in b/usbredirhost/libusbredirhost.pc.in
index c69d13b..ce11f33 100644
--- a/usbredirhost/libusbredirhost.pc.in
+++ b/usbredirhost/libusbredirhost.pc.in
@@ -1,4 +1,5 @@
 prefix=@prefix@
+exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
 
diff --git a/usbredirparser/libusbredirparser.pc.in b/usbredirparser/libusbredirparser.pc.in
index 6c9b286..2bb1a62 100644
--- a/usbredirparser/libusbredirparser.pc.in
+++ b/usbredirparser/libusbredirparser.pc.in
@@ -1,4 +1,5 @@
 prefix=@prefix@
+exec_prefix=@exec_prefix@
 libdir=@libdir@
 includedir=@includedir@
 
-- 
1.7.7.4



More information about the Spice-devel mailing list