Skip to content

Commit

Permalink
make: export PKG_CONFIG_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Dec 14, 2024
1 parent a38be0d commit b4860b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4860b2

Please sign in to comment.