From 886b9c6730d2a1904cfc29b6aae141848d1a2558 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 25 Oct 2013 03:56:27 +0100 Subject: [PATCH] Yet another build fix --- source/bridges/Makefile | 1 + source/carla-plugin | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/source/bridges/Makefile b/source/bridges/Makefile index 6f863c14f..f81a2a35d 100644 --- a/source/bridges/Makefile +++ b/source/bridges/Makefile @@ -110,6 +110,7 @@ endif BUILD_UI_FLAGS = $(BUILD_CXX_FLAGS) -DBUILD_BRIDGE_UI LINK_UI_FLAGS = $(LINK_FLAGS) -ldl +LINK_UI_FLAGS += $(JUCE_CORE_LIBS) BUILD_UI_LV2_FLAGS = $(BUILD_UI_FLAGS) -DBRIDGE_LV2 BUILD_UI_VST_FLAGS = $(BUILD_UI_FLAGS) -DBRIDGE_VST diff --git a/source/carla-plugin b/source/carla-plugin index cab14897e..5ee25aee8 100755 --- a/source/carla-plugin +++ b/source/carla-plugin @@ -323,13 +323,6 @@ class CarlaMiniW(HostWindow, ExternalUI): # Main if __name__ == '__main__': - # ------------------------------------------------------------- - # Setup - - Carla.isControl = False - Carla.isLocal = False - Carla.isPlugin = True - # ------------------------------------------------------------- # App initialization @@ -340,6 +333,13 @@ if __name__ == '__main__': setUpSignals() + # ------------------------------------------------------------- + # Setup + + Carla.isControl = False + Carla.isLocal = False + Carla.isPlugin = True + # ------------------------------------------------------------- # Read CLI args