summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-10-13 05:38:10 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-10-13 05:38:10 (GMT)
commitb58b3e9d3e592b2d0c80db6bfbd7ae8ebb9efbba (patch)
treeeadaab3393f8afe8e5a702471c0a0e4a8e39bc81 /Makefile
parentb0d1a529c6a47cd99b70b80613ca79e320710ec2 (diff)
downloadmxe-b58b3e9d3e592b2d0c80db6bfbd7ae8ebb9efbba.zip
mxe-b58b3e9d3e592b2d0c80db6bfbd7ae8ebb9efbba.tar.gz
mxe-b58b3e9d3e592b2d0c80db6bfbd7ae8ebb9efbba.tar.bz2
Makefile: strip dot from $PATH
fixes #1893
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4b365cf..868ed7a 100644
--- a/Makefile
+++ b/Makefile
@@ -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)