Patch for pkg-config file cflags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The libvirt.pc.in file has an empty field for the cflags variable, so
if you install libvirt into any prefix which is not in the compiler's
default include file search path the header files won't be found when
compiling applications. Attching a patch which corrects the pkg-config
file for libvirt

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
# HG changeset patch
# User "Daniel P. Berrange <berrange@xxxxxxxxxx>"
# Node ID 9f6934fbd8d3c52de3088e23d558af866beb3308
# Parent  7e080d63ac84ab4504d8239d543e384dc0170b62
Fixed pkg-config cflags spec for installs outside of /usr hierarchy

diff -r 7e080d63ac84 -r 9f6934fbd8d3 libvirt.pc.in
--- a/libvirt.pc.in	Thu Mar 23 16:53:55 2006 -0500
+++ b/libvirt.pc.in	Thu Mar 23 16:59:32 2006 -0500
@@ -8,4 +8,4 @@ Description: libvirt library
 Description: libvirt library
 Requires:
 Libs: -L${libdir} -lvirt @LIBS@
-Cflags:
+Cflags: -I${includedir}

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]