Browse Source

Allow to build internal plugins with a custom dpf

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.0
falkTX 2 years ago
parent
commit
36beab5b13
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 9 additions and 3 deletions
  1. +2
    -0
      Makefile
  2. +6
    -2
      source/Makefile.mk
  3. +1
    -1
      source/native-plugins/external

+ 2
- 0
Makefile View File

@@ -53,8 +53,10 @@ ALL_LIBS += $(MODULEDIR)/rtmempool.a
3RD_LIBS += $(MODULEDIR)/zita-resampler.a

ifeq ($(HAVE_DGL),true)
ifneq ($(USING_CUSTOM_DPF),true)
3RD_LIBS += $(MODULEDIR)/dgl.a
endif
endif

ifeq ($(HAVE_HYLIA),true)
3RD_LIBS += $(MODULEDIR)/hylia.a


+ 6
- 2
source/Makefile.mk View File

@@ -179,11 +179,15 @@ endif
ifeq ($(HAVE_DGL),true)
BASE_FLAGS += -DHAVE_DGL
BASE_FLAGS += -DHAVE_OPENGL
BASE_FLAGS += -DDGL_NAMESPACE=CarlaDGL
BASE_FLAGS += -DDGL_OPENGL
BASE_FLAGS += -DDONT_SET_USING_DGL_NAMESPACE
ifneq ($(USING_CUSTOM_DPF),true)
BASE_FLAGS += -DDGL_NAMESPACE=CarlaDGL
BASE_FLAGS += -DDGL_FILE_BROWSER_DISABLED
BASE_FLAGS += -DDGL_NO_SHARED_RESOURCES
BASE_FLAGS += -DDONT_SET_USING_DGL_NAMESPACE
else
BASE_FLAGS += -DDISTRHO_UI_FILE_BROWSER
endif
endif

ifeq ($(HAVE_FLUIDSYNTH),true)


+ 1
- 1
source/native-plugins/external

@@ -1 +1 @@
Subproject commit edebaabb1228ffb775f9d9a8395a858ba365cdf8
Subproject commit 45a2d5b0a268180b4304ce27f22abbd3f8d5073c

Loading…
Cancel
Save