summaryrefslogtreecommitdiff
path: root/vst
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-06-08 11:29:30 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-06-08 11:29:30 +0200
commit272cfe63d6397edbdaa5d2a3308388cfe0e7ee16 (patch)
tree5294ceffc24c3947f59cb89fceba46b2b1931120 /vst
parentc2f761aa7c5bb649cffb274115404197fda58ada (diff)
Fix linking of dgvst.
Diffstat (limited to 'vst')
-rw-r--r--vst/Makefile.am12
1 files changed, 5 insertions, 7 deletions
diff --git a/vst/Makefile.am b/vst/Makefile.am
index 39d4aa8..2a565e4 100644
--- a/vst/Makefile.am
+++ b/vst/Makefile.am
@@ -24,16 +24,14 @@ plugindir = $(prefix)/vst
plugin_LTLIBRARIES =
if ENABLE_VST
-noinst_LIBRARIES = libdgvst.a
+noinst_LTLIBRARIES = libdgvst.la
plugin_LTLIBRARIES += libdrumgizmo.la
endif
-libdgvst_a_SOURCES = \
+libdgvst_la_SOURCES = \
$(VST_SOURCES)
-libdgvst_a_CXXFLAGS = $(VST_CPPFLAGS) -w
-
-
+libdgvst_la_CXXFLAGS = $(VST_CPPFLAGS) -w
libdrumgizmo_la_SOURCES = \
$(DRUMGIZMO_SOURCES) \
@@ -42,8 +40,8 @@ libdrumgizmo_la_SOURCES = \
input_vst.cc \
output_vst.cc
-libdrumgizmo_la_LDFLAGS = -shared -no-undefined
-libdrumgizmo_la_LIBADD = $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS) libdgvst.a
+libdrumgizmo_la_LDFLAGS = -dynamic -no-undefined
+libdrumgizmo_la_LIBADD = $(PLUGIN_GUI_LIBS) $(DRUMGIZMO_LIBS) -ldgvst
libdrumgizmo_la_CXXFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/plugingui \
-I$(top_srcdir)/include $(SNDFILE_CXXFLAGS) \
$(PTHREAD_CFLAGS) $(EXPAT_CFLAGS) $(VST_CPPFLAGS) \