Browse Source

Allow to link against custom DPF/DGL

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.0
falkTX 2 years ago
parent
commit
22cef6ba4d
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 14 additions and 0 deletions
  1. +4
    -0
      source/bridges-plugin/Makefile
  2. +10
    -0
      source/plugin/Makefile

+ 4
- 0
source/bridges-plugin/Makefile View File

@@ -175,7 +175,11 @@ LIBS_native += $(MODULEDIR)/sfzero.a
LIBS_native += $(MODULEDIR)/zita-resampler.a

ifeq ($(HAVE_DGL),true)
ifneq ($(USING_CUSTOM_DPF),true)
LIBS_native += $(MODULEDIR)/dgl.a
else
LIBS_native += $(CUSTOM_DPF_PATH)/build/libdgl-opengl.a
endif
endif

ifeq ($(WIN32),true)


+ 10
- 0
source/plugin/Makefile View File

@@ -67,7 +67,11 @@ LIBS += $(MODULEDIR)/sfzero.a
LIBS += $(MODULEDIR)/zita-resampler.a

ifeq ($(HAVE_DGL),true)
ifneq ($(USING_CUSTOM_DPF),true)
LIBS += $(MODULEDIR)/dgl.a
else
LIBS += $(CUSTOM_DPF_PATH)/build/libdgl-opengl.a
endif
endif

ifeq ($(HAVE_HYLIA),true)
@@ -176,6 +180,10 @@ TARGETS = \
# sometimes needed for testing:
# $(BINDIR)/carla-native-plugin$(APP_EXT)

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

ifneq ($(STATIC_PLUGIN_TARGET),true)

TARGETS += \
$(BINDIR)/carla.lv2/carla$(LIB_EXT)

@@ -206,6 +214,8 @@ endif
endif
endif

endif # !STATIC_PLUGIN_TARGET

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

all: $(TARGETS)


Loading…
Cancel
Save