diff --git a/source/Makefile.mk b/source/Makefile.mk index 3924c7818..22aa5d319 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -175,10 +175,7 @@ BASE_FLAGS += -DHAVE_DGL BASE_FLAGS += -DHAVE_OPENGL BASE_FLAGS += -DDGL_OPENGL BASE_FLAGS += -DDONT_SET_USING_DGL_NAMESPACE -ifneq ($(USING_CUSTOM_DPF),true) -BASE_FLAGS += -DDGL_FILE_BROWSER_DISABLED -BASE_FLAGS += -DDGL_NO_SHARED_RESOURCES -else +ifeq ($(USING_CUSTOM_DPF),true) BASE_FLAGS += -DDISTRHO_UI_FILE_BROWSER=0 endif ifneq ($(DGL_NAMESPACE),) @@ -188,6 +185,11 @@ BASE_FLAGS += -DDGL_NAMESPACE=CarlaDGL endif endif +ifneq ($(USING_CUSTOM_DPF),true) +BASE_FLAGS += -DDGL_FILE_BROWSER_DISABLED +BASE_FLAGS += -DDGL_NO_SHARED_RESOURCES +endif + ifeq ($(HAVE_FLUIDSYNTH),true) BASE_FLAGS += -DHAVE_FLUIDSYNTH ifeq ($(HAVE_FLUIDSYNTH_INSTPATCH),true)