On Montag, 10. März 2008, Ville Skyttä wrote:
> Hello,
>
> As discussed in the freetype/fontconfig pkgconfig thread, here's a combined
> patch implementing installation of VDR's headers and generating a pkgconfig
> *.pc file.
>
> This patch is mostly just a discussion draft - I haven't tried installing
> the headers and the pkgconfig file isn't installed yet by any "make
> install*" (mostly because very ironically, there's no way to query
> pkg-config for its default search path, which is something I've intended to
> report a bug about since a long time ago, but failed so far - maybe I'll do
> it right now :)).
>

Citing pkg-config manpage:
By default, pkg-config looks in the directory prefix/lib/pkgconfig for these 
files; it will also look in the  colon-separated  (on  Windows,  
semicolon-separated) list of directories specified by the PKG_CONFIG_PATH 
environment variable.

So you can install .pc file anywhere you want if you add this location to 
PKG_CONFIG_PATH.

So /usr/bin/pkg-config will always look into /usr/lib/pkgconfig.
We can either use
A. $(DESTDIR)/usr/lib/pkgconfig
or
B. $(DESTDIR)$(PREFIX)/lib/pkgconfig

For most installations A should be fine.

Matthias

-- 
Matthias Schwarzott (zzam)

_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to