From 1f4d6e14812f4cbe816fa7cecf3895ac0880a9ed Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 9 Mar 2021 21:00:00 +0100 Subject: Add PKGCONFIG_FLAGS to Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- mk/method-x-randr=yes.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/method-x-randr=yes.mk') 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 =\ -- cgit v1.2.3-70-g09d2