1
0
mirror of https://github.com/abakh/nbsdgames.git synced 2024-06-08 17:20:41 +00:00

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

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