aboutsummaryrefslogtreecommitdiffstats
path: root/mk/method-linux-drm=yes.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-09 21:00:00 +0100
committerMattias Andrée <maandree@kth.se>2021-03-09 21:00:00 +0100
commit1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed (patch)
treea7ae504d1878adf978d93cc54c3e5390e218d6f1 /mk/method-linux-drm=yes.mk
parentAdd pkg-config and librarian files (diff)
downloadlibgamma-1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed.tar.gz
libgamma-1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed.tar.bz2
libgamma-1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed.tar.xz
Add PKGCONFIG_FLAGS to Makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
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 =\