From 982aad68eedfcd70a19864c31255e70a34876db4 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 29 Jul 2018 19:37:45 +0200 Subject: Hide unneeded symbols for the vst plugin. --- plugin/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'plugin/Makefile.am') diff --git a/plugin/Makefile.am b/plugin/Makefile.am index 74b50b8..ccdbfce 100644 --- a/plugin/Makefile.am +++ b/plugin/Makefile.am @@ -46,6 +46,7 @@ vstplugin_DATA = endif drumgizmo_vst_la_CXXFLAGS = -DVST \ + -fvisibility=hidden \ $(SNDFILE_CFLAGS) \ -I$(top_srcdir)/include \ -I$(top_srcdir)/plugin/plugingizmo \ @@ -54,13 +55,17 @@ drumgizmo_vst_la_CXXFLAGS = -DVST \ -I$(top_srcdir)/hugin \ $(VST_CPPFLAGS) -Ivst +drumgizmo_vst_la_CFLAGS = -fvisibility=hidden + drumgizmo_vst_la_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ $(top_srcdir)/plugin/plugingizmo/midievent.cc \ $(top_srcdir)/plugin/plugingizmo/pluginvst.cc \ drumgizmo_plugin.cc -drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version +drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version \ + -export-symbols drumgizmo_vst.sym + drumgizmo_vst_la_LIBADD = vst/libvstsdk.la \ $(top_srcdir)/plugingui/libdggui.la \ $(top_srcdir)/src/libdg.la -- cgit v1.2.3