diff --git a/source/Makefile.mk b/source/Makefile.mk index 82bbbf08f..9444d4533 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -669,10 +669,12 @@ ifneq ($(DEBUG),true) ifneq ($(TESTBUILD),true) ifneq (,$(wildcard $(CWD)/native-plugins/external/Makefile.mk)) EXTERNAL_PLUGINS = true +ifeq ($(EXTERNAL_PLUGINS),true) BASE_FLAGS += -DHAVE_EXTERNAL_PLUGINS include $(CWD)/native-plugins/external/Makefile.mk endif endif endif +endif # ---------------------------------------------------------------------------------------------------------------------