Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Export main=VSTPluginMain in Linux builds
  • Loading branch information
falkTX committed May 20, 2014
1 parent 3c02ff0 commit 096e19b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 096e19b

Please sign in to comment.