Skip to content

Commit

Permalink
Allow to build with custom DISTRHO and DGL namespace
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Jun 30, 2022
1 parent 38dad9f commit 194f04a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Makefile.base.mk
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,17 @@ else ifeq ($(HAVE_OPENGL),true)
HAVE_DGL = $(HAVE_X11)
endif

# ---------------------------------------------------------------------------------------------------------------------
# Namespace flags

ifneq ($(DISTRHO_NAMESPACE),)
BUILD_CXX_FLAGS += -DDISTRHO_NAMESPACE=$(DISTRHO_NAMESPACE)
endif

ifneq ($(DGL_NAMESPACE),)
BUILD_CXX_FLAGS += -DDGL_NAMESPACE=$(DGL_NAMESPACE)
endif

# ---------------------------------------------------------------------------------------------------------------------
# Optional flags

Expand Down Expand Up @@ -473,7 +484,6 @@ ifeq ($(USE_RGBA),true)
BUILD_CXX_FLAGS += -DDGL_USE_RGBA
endif


# ---------------------------------------------------------------------------------------------------------------------
# Set app extension

Expand Down

0 comments on commit 194f04a

Please sign in to comment.