[PATCH wayland] pkg-config: scanner isn't arch-independent

Daniel Stone daniel at fooishbar.org
Fri Aug 16 04:57:25 PDT 2013


$(datadir) rather than $(libdir), is for architecture-independent data.
pkg-config files should only be installed there if they're shareable
across architectures, e.g. headers/data only, which wayland-scanner is
not.  Move it to $(libdir) with the other pkg-config files.

Signed-off-by: Daniel Stone <daniel at fooishbar.org>
---
 src/Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 4226f63..4211b59 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -58,8 +58,7 @@ wayland_scanner_LDADD = $(EXPAT_LIBS) libwayland-util.la
 
 $(BUILT_SOURCES) : wayland-scanner
 
-scannerpkgconfigdir = $(datadir)/pkgconfig
-scannerpkgconfig_DATA = wayland-scanner.pc
+pkgconfig_DATA = wayland-scanner.pc
 endif
 
 BUILT_SOURCES =					\
-- 
1.8.3.1



More information about the wayland-devel mailing list