From 959bb5f85d8e271e517328d13a81703825219218 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Fri, 3 Jun 2016 03:32:33 +1000 Subject: 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12