diff --git a/source/bridges-plugin/Makefile b/source/bridges-plugin/Makefile index ff7511757..c341b7515 100644 --- a/source/bridges-plugin/Makefile +++ b/source/bridges-plugin/Makefile @@ -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) diff --git a/source/plugin/Makefile b/source/plugin/Makefile index cb079047e..cb6c22bcf 100644 --- a/source/plugin/Makefile +++ b/source/plugin/Makefile @@ -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)