[PATCH] weston.pc: Added libexecdir and pkglibexecdir variables

Pekka Paalanen ppaalanen at gmail.com
Fri Jun 7 07:01:44 PDT 2013


On Mon,  3 Jun 2013 12:24:09 -0300
"Eduardo Lima (Etrunko)" <eduardo.lima at linux.intel.com> wrote:

> From: "Eduardo Lima (Etrunko)" <eduardo.lima at intel.com>
> 
> These can be used by external clients to check the installation path
> 
> Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima at intel.com>
> ---
>  src/weston.pc.in | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/weston.pc.in b/src/weston.pc.in
> index 537cc89..828cb1f 100644
> --- a/src/weston.pc.in
> +++ b/src/weston.pc.in
> @@ -2,6 +2,8 @@ prefix=@prefix@
>  exec_prefix=@exec_prefix@
>  libdir=@libdir@
>  includedir=@includedir@
> +libexecdir=@libexecdir@
> +pkglibexecdir=${libexecdir}/@PACKAGE@
>  
>  Name: Weston Plugin API
>  Description: Header files for Weston plugin development

Right, I wonder if there is more fix here.

$ pkg-config --variable=libexecdir weston
/home/pq/local/libexec
$ pkg-config --variable=pkglibexecdir weston
/home/pq/local/libexec/weston

My prefix=/home/pq/local.

But it seems weston installs all programs into libexecdir, not
pkglibexecdir. Should weston install them to pkglibexecdir instead?
Or why add pkglibexecdir?


Thanks,
pq


More information about the wayland-devel mailing list