From 3db309aecee57d7e0055a49a0e12a491a554347b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Marchesin?= Date: Fri, 30 Sep 2011 17:49:48 -0700 Subject: configure: replace pkg-config calls with $(PKG_CONFIG) in the makefiles. Us poor souls who cross compile mesa want to be able to specify which pkg-config to pick, or at least just change one place. Reviewed-by: Brian Paul Reviewed-by: Matt Turner --- src/egl/wayland/wayland-drm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/egl/wayland') diff --git a/src/egl/wayland/wayland-drm/Makefile b/src/egl/wayland/wayland-drm/Makefile index bc010b6..42222a9 100644 --- a/src/egl/wayland/wayland-drm/Makefile +++ b/src/egl/wayland/wayland-drm/Makefile @@ -16,8 +16,8 @@ wayland_drm_INCLUDES = \ -I$(TOP)/include # Generate protocol sources -prefix=$(shell pkg-config --variable=prefix wayland-server) -exec_prefx=$(shell pkg-config --variable=exec_prefix wayland-server) +prefix=$(shell $(PKG_CONFIG) --variable=prefix wayland-server) +exec_prefx=$(shell $(PKG_CONFIG) --variable=exec_prefix wayland-server) wayland_protocoldir = $(PWD)/protocol wayland_scanner=$(exec_prefix)/bin/wayland-scanner -- cgit v1.1