1
0
Fork 0

Makefile: allow overriding pkg-config

Makes cross compilation easier.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2022-03-31 03:58:29 +01:00
parent 75d5458357
commit 83866e480e
No known key found for this signature in database
GPG Key ID: F4922810EEA0483B
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ GAMES_DIR?=/usr/games
SCORES_DIR?=/var/games
MAN_DIR?=/usr/share/man/man6
CFLAGS+= -Wno-unused-result -D SCORES_DIR=\"$(SCORES_DIR)\"
PKG-CONFIG=pkg-config
PKG-CONFIG?=pkg-config
LDFLAGS+= $(shell pkg-config --libs --cflags ncurses) -lm