summaryrefslogtreecommitdiff
path: root/plugins/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Makefile.mk')
-rw-r--r--plugins/Makefile.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Makefile.mk b/plugins/Makefile.mk
index dcfe8ec..28b5645 100644
--- a/plugins/Makefile.mk
+++ b/plugins/Makefile.mk
@@ -8,6 +8,10 @@
include ../../Makefile.mk
+ifeq ($(OBJS_UI),)
+HAVE_DGL = false
+endif
+
# --------------------------------------------------------------
# Basic setup
@@ -52,7 +56,6 @@ endif
# --------------------------------------------------------------
# Handle plugins without UI
-ifeq ($(TARGET_NOUI),true)
ifneq ($(HAVE_DGL),true)
dssi_ui =
lv2_ui =
@@ -60,7 +63,6 @@ DISTRHO_UI_FILES =
DGL_LIBS =
OBJS_UI =
endif
-endif
# --------------------------------------------------------------
# all needs to be first