river-tag-overlay: Use $PKG_CONFIG from environment if set v1 APPLIED

Alyssa Ross: 1
 Use $PKG_CONFIG from environment if set

 1 files changed, 2 insertions(+), 1 deletions(-)
#978207 arch.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~leon_plickat/public-inbox/patches/40602/mbox | git am -3
Learn more about email & git

[PATCH river-tag-overlay] Use $PKG_CONFIG from environment if set Export this patch

When cross-compiling, this will usually be set to the appropriate
pkg-config for the platform being built for,
e.g. aarch64-unknown-linux-gnu-pkg-config.
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 97aac43..bb16f87 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
PKG_CONFIG ?= pkg-config
SCANNER := wayland-scanner

@@ -5,7 +6,7 @@ BINDIR=$(PREFIX)/bin

CFLAGS=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result $(shell pkg-config --cflags pixman-1)
LIBS=-lwayland-client $(shell pkg-config --libs pixman-1) -lrt
LIBS=-lwayland-client $(shell $(PKG_CONFIG) --libs pixman-1) -lrt
OBJ=river-tag-overlay.o river-status-unstable-v1.o wlr-layer-shell-unstable-v1.o xdg-shell.o
GEN=river-status-unstable-v1.c river-status-unstable-v1.h wlr-layer-shell-unstable-v1.c wlr-layer-shell-unstable-v1.h xdg-shell.c xdg-shell.h


Friendly greetings,
Leon Henrik Plickat
river-tag-overlay/patches/arch.yml: SUCCESS in 23s

[Use $PKG_CONFIG from environment if set][0] from [Alyssa Ross][1]

[0]: https://lists.sr.ht/~leon_plickat/public-inbox/patches/40602
[1]: mailto:hi@alyssa.is

✓ #978207 SUCCESS river-tag-overlay/patches/arch.yml https://builds.sr.ht/~leon_plickat/job/978207