aboutsummaryrefslogtreecommitdiffstats
path: root/mk/method-x-randr=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-x-randr=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 '')
-rw-r--r--mk/method-x-randr=yes.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/method-x-randr=yes.mk b/mk/method-x-randr=yes.mk
index 0690df5..07a55e9 100644
--- a/mk/method-x-randr=yes.mk
+++ b/mk/method-x-randr=yes.mk
@@ -1,8 +1,8 @@
HDR_X_RANDR = method-x-randr.h
PARAMS_X_RANDR = LIBGAMMA_METHOD_X_RANDR x_randr 16 ramps16
CPPFLAGS_X_RANDR = -DHAVE_LIBGAMMA_METHOD_X_RANDR
-CFLAGS_X_RANDR = $$(pkg-config --cflags xcb xcb-randr)
-LDFLAGS_X_RANDR = $$(pkg-config --libs xcb xcb-randr)
+CFLAGS_X_RANDR = $$(pkg-config $(PKGCONFIG_FLAGS) --cflags xcb xcb-randr)
+LDFLAGS_X_RANDR = $$(pkg-config $(PKGCONFIG_FLAGS) --libs xcb xcb-randr)
DEPS_X_RANDR = xcb xcb-randr
OBJ_X_RANDR =\