summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2016-06-02 17:32:33 (GMT)
committerTony Theodore <tonyt@logyst.com>2016-06-02 17:32:33 (GMT)
commit959bb5f85d8e271e517328d13a81703825219218 (patch)
treec64109b30cf19be1e3104c1daa84f93d4d85d8b6 /Makefile
parent02995af840e2d2fb450d9fec3a24aa82f0380860 (diff)
downloadmxe-959bb5f85d8e271e517328d13a81703825219218.zip
mxe-959bb5f85d8e271e517328d13a81703825219218.tar.gz
mxe-959bb5f85d8e271e517328d13a81703825219218.tar.bz2
fix native plugins when additional dirs are specified
When plugins are specified on the command line, automatic native plugins are not included (for darwin and wheezy): ``` $ make gmsl-print-MXE_PLUGIN_DIRS MXE_PLUGIN_DIRS=plugins/apps/ MXE_PLUGIN_DIRS = plugins/apps/ ``` https://www.gnu.org/software/make/manual/make.html#Override-Directive https://github.com/mxe/mxe/issues/1259#issuecomment-217376756
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8a4fabc..b3275a7 100644
--- a/Makefile
+++ b/Makefile
@@ -324,7 +324,7 @@ all: all-filtered
# Build native requirements for certain systems
OS_SHORT_NAME := $(call lc,$(shell lsb_release -sc 2>/dev/null || uname -s))
-MXE_PLUGIN_DIRS += $(realpath $(TOP_DIR)/plugins/native/$(OS_SHORT_NAME))
+override MXE_PLUGIN_DIRS += $(realpath $(TOP_DIR)/plugins/native/$(OS_SHORT_NAME))
.PHONY: check-requirements
define CHECK_REQUIREMENT