summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland/wayland-drm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/wayland/wayland-drm/Makefile')
-rw-r--r--src/egl/wayland/wayland-drm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/wayland/wayland-drm/Makefile b/src/egl/wayland/wayland-drm/Makefile
index bc010b6d9cb..42222a9872c 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