diff pidgin/pidgin-uninstalled.pc.in @ 29192:4066bd054421

Fix -uninstalled pc files for out-of-tree builds. ${pcfiledir} expands to the directory that the .pc file is in. This isn't right for out-of-tree builds: we want to add the source directory to the include path. In the case of libpurple, we need both because some of the headers are generated.
author Will Thompson <will.thompson@collabora.co.uk>
date Sun, 20 Dec 2009 17:13:47 +0000
parents 389a51db740f
children 1d969bd224f2
line wrap: on
line diff
--- a/pidgin/pidgin-uninstalled.pc.in	Sat Dec 19 02:33:53 2009 +0000
+++ b/pidgin/pidgin-uninstalled.pc.in	Sun Dec 20 17:13:47 2009 +0000
@@ -6,8 +6,11 @@
 datadir=@datadir@
 sysconfdir=@sysconfdir@
 
+abs_srcdir=@abs_srcdir@
+abs_builddir=@abs_builddir@
+
 Name: Pidgin
 Description: Pidgin is a GTK2-based instant messenger application.
 Version: @VERSION@
 Requires: gtk+-2.0 purple
-Cflags: -I${pcfiledir}
+Cflags: -I${abs_srcdir}