Skip to content

Commit

Permalink
Fix plugin-wine build when Linux side has no X11
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Sep 21, 2024
1 parent e39f04d commit b7bc7fa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions source/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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),)
Expand All @@ -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)
Expand Down

0 comments on commit b7bc7fa

Please sign in to comment.