Makefile: strip dot from $PATH

fixes #1893
This commit is contained in:
Tony Theodore 2017-10-13 16:38:10 +11:00
parent b0d1a529c6
commit b58b3e9d3e
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ TIMESTAMP := $(shell date +%Y%m%d_%H%M%S)
PKG_DIR := $(PWD)/pkg
TMP_DIR = $(MXE_TMP)/tmp-$(1)
BUILD := $(shell '$(EXT_DIR)/config.guess')
PATH := $(PREFIX)/$(BUILD)/bin:$(PREFIX)/bin:$(PATH)
PATH := $(PREFIX)/$(BUILD)/bin:$(PREFIX)/bin:$(shell echo $$PATH | $(SED) -e 's,:\.$$,,' -e 's,\.:,,g')
# set to empty or $(false) to disable stripping
STRIP_TOOLCHAIN := $(true)