From b4860b2103238ab74a6299594cb7543399aedf7a Mon Sep 17 00:00:00 2001 From: Stas Sergeev Date: Sat, 14 Dec 2024 15:56:55 +0300 Subject: [PATCH] make: export PKG_CONFIG_PATH --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 5cca1fa..b864437 100644 --- a/src/Makefile +++ b/src/Makefile @@ -45,8 +45,9 @@ uninstall: rm -rf $(DATADIR) # hook in dj64 - make sure to not do that before defining `all:` target +export PKG_CONFIG_PATH = $(PREFIX)/share/pkgconfig:$(PREFIX)/lib/pkgconfig DJMK = $(shell pkg-config --variable=makeinc dj64) -ifeq ($(DJMK),) +ifeq ($(wildcard $(DJMK)),) ifeq ($(filter clean,$(MAKECMDGOALS)),) $(error dj64-dev not installed) endif