Mercurial > pidgin
changeset 28809: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 | 10df4b6b149c |
children | 328a7ff06110 356d1f40a56d |
files | libpurple/purple-uninstalled.pc.in pidgin/pidgin-uninstalled.pc.in |
diffstat | 2 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/purple-uninstalled.pc.in Sat Dec 19 02:33:53 2009 +0000 +++ b/libpurple/purple-uninstalled.pc.in Sun Dec 20 17:13:47 2009 +0000 @@ -6,9 +6,12 @@ datadir=@datadir@ sysconfdir=@sysconfdir@ +abs_srcdir=@abs_srcdir@ +abs_builddir=@abs_builddir@ + Name: libpurple Description: libpurple is a GLib-based instant messenger library. Version: @VERSION@ Requires: glib-2.0 -Cflags: -I${pcfiledir} -Libs: ${pcfiledir}/libpurple.la +Cflags: -I${abs_srcdir} -I${abs_builddir} +Libs: ${abs_builddir}/libpurple.la
--- 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}