aboutsummaryrefslogtreecommitdiffstats
path: root/mk/method-linux-drm=yes.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/method-linux-drm=yes.mk')
-rw-r--r--mk/method-linux-drm=yes.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/method-linux-drm=yes.mk b/mk/method-linux-drm=yes.mk
index 3867bf6..6d8f56f 100644
--- a/mk/method-linux-drm=yes.mk
+++ b/mk/method-linux-drm=yes.mk
@@ -1,8 +1,8 @@
HDR_LINUX_DRM = method-linux-drm.h
PARAMS_LINUX_DRM = LIBGAMMA_METHOD_LINUX_DRM linux_drm 16 ramps16
CPPFLAGS_LINUX_DRM = -DHAVE_LIBGAMMA_METHOD_LINUX_DRM
-CFLAGS_LINUX_DRM = $$(pkg-config --cflags libdrm)
-LDFLAGS_LINUX_DRM = $$(pkg-config --libs libdrm)
+CFLAGS_LINUX_DRM = $$(pkg-config $(PKGCONFIG_FLAGS) --cflags libdrm)
+LDFLAGS_LINUX_DRM = $$(pkg-config $(PKGCONFIG_FLAGS) --libs libdrm)
DEPS_LINUX_DRM = libdrm
OBJ_LINUX_DRM =\