Browse Source

Automatically enable external plugins when its repo is available

tags/v1.9.9
falkTX 7 years ago
parent
commit
7cfeb809ee
2 changed files with 2 additions and 3 deletions
  1. +1
    -1
      source/Makefile.mk
  2. +1
    -2
      source/native-plugins/Makefile

+ 1
- 1
source/Makefile.mk View File

@@ -519,7 +519,7 @@ endif


# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------


ifeq ($(EXTERNAL_PLUGINS),true)
ifneq (,$(wildcard $(CWD)/native-plugins/external/Makefile.mk))
BASE_FLAGS += -DHAVE_EXTERNAL_PLUGINS BASE_FLAGS += -DHAVE_EXTERNAL_PLUGINS
include $(CWD)/native-plugins/external/Makefile.mk include $(CWD)/native-plugins/external/Makefile.mk
endif endif


+ 1
- 2
source/native-plugins/Makefile View File

@@ -6,7 +6,6 @@


CWD=.. CWD=..
CWDE=.. CWDE=..
EXTERNAL=external/
MODULENAME=native-plugins MODULENAME=native-plugins
include ../modules/Makefile.mk include ../modules/Makefile.mk


@@ -53,7 +52,7 @@ OBJS_all = \
# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------
# Include external plugins, if present # Include external plugins, if present


ifeq ($(EXTERNAL_PLUGINS),true)
ifneq (,$(wildcard external/Makefile))
include external/Makefile include external/Makefile
endif endif




Loading…
Cancel
Save