summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--vst/Makefile.am12
2 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index ea0bc63..aeb4a66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,7 +69,7 @@ AC_ARG_WITH([debug],
AS_IF([test "x$with_debug" == "xyes"],
[AC_MSG_WARN([*** Building with debug support!])
- CXXFLAGS="$CXXFLAGS -Wall -Werror -g"
+ CXXFLAGS="$CXXFLAGS -Wall -Werror -g -Wl,--no-undefined"
HUGIN_PARM=""]
)
diff --git a/vst/Makefile.am b/vst/Makefile.am
index d6c5c9e..1f337b6 100644
--- a/vst/Makefile.am
+++ b/vst/Makefile.am
@@ -23,7 +23,7 @@ EXTRA_DIST = \
if ENABLE_VST
plugin_LTLIBRARIES =
plugindir = $(prefix)/lib/vst
-plugin_LTLIBRARIES += libdrumgizmo_vst.la
+plugin_LTLIBRARIES += drumgizmo_vst.la
noinst_LTLIBRARIES = libdg.la
endif
@@ -39,15 +39,15 @@ libdg_la_CXXFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/plugingui \
$(PLUGIN_GUI_CFLAGS) $(SSEFLAGS)\
-DUSE_THREAD $(SAMPLERATE_CFLAGS)
-nodist_libdrumgizmo_vst_la_SOURCES = \
+nodist_drumgizmo_vst_la_SOURCES = \
$(VST_SOURCES)
-libdrumgizmo_vst_la_SOURCES = \
+drumgizmo_vst_la_SOURCES = \
drumgizmo_vst.cc \
input_vst.cc \
output_vst.cc
-libdrumgizmo_vst_la_LDFLAGS = -no-undefined -shared
-libdrumgizmo_vst_la_LIBADD = libdg.la
-libdrumgizmo_vst_la_CXXFLAGS = -w $(VST_CPPFLAGS) \
+drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version
+drumgizmo_vst_la_LIBADD = libdg.la
+drumgizmo_vst_la_CXXFLAGS = -w $(VST_CPPFLAGS) \
-I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_srcdir)/plugingui \ No newline at end of file