[PATCH wayland 2/2] build: Add wayland-scanner.pc.

Eduardo Lima (Etrunko) eduardo.lima at linux.intel.com
Wed Jul 10 15:00:08 PDT 2013


On 07/02/2013 06:38 AM, Daiki Ueno wrote:
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 4fa7425..4226f63 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -57,6 +57,9 @@ wayland_scanner_SOURCES =				\
>  wayland_scanner_LDADD = $(EXPAT_LIBS) libwayland-util.la
>  
>  $(BUILT_SOURCES) : wayland-scanner
> +
> +scannerpkgconfigdir = $(datadir)/pkgconfig
> +scannerpkgconfig_DATA = wayland-scanner.pc
>  endif

Is there any specific reason why is the .pc file not being installed in
standard $(libdir)/pkgconfig such as the others? In ths case the patch
would simply be something like:

+pkgconfig_DATA += wayland-scanner.pc

Weston fails to build if I don't add $(datadir)/pkgconfig to
PKG_CONFIG_PATH environment.

Regards, Etrunko

-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer, Open Source Technology Center
Intel Corporation
São Paulo, Brazil
eduardo.lima at linux.intel.com


More information about the wayland-devel mailing list