From 66f962b18bd74324025400a05fdde2b89c9434c0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 9 Jul 2016 17:16:54 +0100 Subject: Fix use of PKG_CONFIG_PATH and CC variable --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 849d2e0..11552e9 100644 --- a/Makefile +++ b/Makefile @@ -40,12 +40,12 @@ NSLIB_RO_TARG := librufl libpencil # Build Environment export TARGET ?= gtk TMP_PREFIX := $(CURDIR)/inst-$(TARGET) -export PKG_CONFIG_PATH = $(TMP_PREFIX)/lib/pkgconfig +export PKG_CONFIG_PATH := $(TMP_PREFIX)/lib/pkgconfig:$(PKG_CONFIG_PATH) export PATH := $(PATH):$(TMP_PREFIX)/bin/ TMP_NSSHARED := $(CURDIR)/buildsystem # The system actually doing the build -BUILD ?= $(shell cc -dumpmachine) +BUILD ?= $(shell $(CC) -dumpmachine) # The host we are targetting HOST ?= $(BUILD) -- cgit v1.2.3