summaryrefslogtreecommitdiffhomepage
path: root/config.default.mak
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-05-08 07:59:31 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2016-05-08 08:00:46 +0200
commitf3fd569723639678f54b9b9923c85eb5d89ba0a3 (patch)
treefa9da951019da1fb85bfd1b2b1f5e8e69032fda6 /config.default.mak
parent5b94952e268ad7b1d78e5066c989578ab43516c3 (diff)
Use '$PKG_CONFIG'.
Diffstat (limited to 'config.default.mak')
-rw-r--r--config.default.mak5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.default.mak b/config.default.mak
index 85461cb..4ca65c1 100644
--- a/config.default.mak
+++ b/config.default.mak
@@ -10,8 +10,9 @@ LIBFIRM_FILE ?= $(FIRM_HOME)/$(LIBFIRM_FILE_BASE)
LIBFIRM_FILE_DLL_BASE ?= build/$(variant)/libfirm$(DLLEXT)
LIBFIRM_FILE_DLL ?= $(FIRM_HOME)/$(LIBFIRM_FILE_DLL_BASE)
else
-FIRM_CPPFLAGS ?= `pkg-config --cflags libfirm`
-FIRM_LIBS ?= `pkg-config --libs libfirm`
+PKG_CONFIG ?= pkg-config
+FIRM_CPPFLAGS ?= $(shell $(PKG_CONFIG) --cflags libfirm)
+FIRM_LIBS ?= $(shell $(PKG_CONFIG) --libs libfirm)
LIBFIRM_FILE =
LIBFIRM_FILE_DLL =
endif