Skip to content
Permalink
Browse files

Export main=VSTPluginMain in Linux builds

  • Loading branch information...
falkTX committed May 20, 2014
1 parent 3c02ff0 commit 096e19bf29c83c18e3658ae7a19702bd5452e097
Showing with 1 addition and 3 deletions.
  1. +1 −3 Makefile
@@ -27,13 +27,11 @@ BASE_FLAGS += -DNDEBUG $(BASE_OPTS) -fvisibility=hidden -fvisibility-inlines-hid
LINK_OPTS = -Wl,--strip-all
endif

BUILD_FLAGS = $(BASE_FLAGS) -std=gnu++0x $(CXXFLAGS)

# --------------------------------------------------------------
# Linux

LINUX_FLAGS = $(BASE_FLAGS) -std=gnu++0x $(CXXFLAGS)
LINUX_FLAGS += $(LINK_OPTS) -ldl -lpthread -shared $(LDFLAGS)
LINUX_FLAGS += $(LINK_OPTS) -ldl -lpthread -shared -Wl,--defsym,main=VSTPluginMain $(LDFLAGS)

# --------------------------------------------------------------
# Mac OS

0 comments on commit 096e19b

Please sign in to comment.
You can’t perform that action at this time.