diff --git a/source/backend/Makefile b/source/backend/Makefile index f1305439f..06423ebbc 100644 --- a/source/backend/Makefile +++ b/source/backend/Makefile @@ -58,7 +58,7 @@ STANDALONE_LIBS += $(MODULEDIR)/juce_gui_extra.a endif endif -ifneq ($(USING_JUCE_AUDIO_DEVICES),true) +ifeq ($(USING_RTAUDIO),true) STANDALONE_LIBS += $(MODULEDIR)/rtaudio.a STANDALONE_LIBS += $(MODULEDIR)/rtmidi.a endif @@ -93,7 +93,7 @@ STANDALONE_LINK_FLAGS += $(JUCE_GUI_EXTRA_LIBS) endif endif -ifneq ($(USING_JUCE_AUDIO_DEVICES),true) +ifeq ($(USING_RTAUDIO),true) STANDALONE_LINK_FLAGS += $(RTAUDIO_LIBS) STANDALONE_LINK_FLAGS += $(RTMIDI_LIBS) endif diff --git a/source/backend/engine/Makefile b/source/backend/engine/Makefile index 75bd0fb79..e034f0e7c 100644 --- a/source/backend/engine/Makefile +++ b/source/backend/engine/Makefile @@ -42,7 +42,9 @@ OBJSa = $(OBJS) \ ifeq ($(USING_JUCE_AUDIO_DEVICES),true) OBJSa += \ $(OBJDIR)/CarlaEngineJuce.cpp.o -else +endif + +ifeq ($(USING_RTAUDIO),true) OBJSa += \ $(OBJDIR)/CarlaEngineRtAudio.cpp.o endif