diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-11-03 10:14:49 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-11-03 10:14:49 +0100 |
commit | d2c19a73f65875f708ff8faf07010ffdb8a34385 (patch) | |
tree | 6320ccd97a7c1bee55b6ba07ce8c9d804b8a7333 /plugin | |
parent | 85ce939590e9f60d51952b4cc1e6af6f9820ca28 (diff) |
Fix osx static library compilation.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/Makefile.am | 4 | ||||
-rw-r--r-- | plugin/vst/Makefile.am | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/plugin/Makefile.am b/plugin/Makefile.am index 6c0d324..95db9b7 100644 --- a/plugin/Makefile.am +++ b/plugin/Makefile.am @@ -30,7 +30,7 @@ drumgizmo_la_SOURCES = \ drumgizmo_plugin.cc drumgizmo_la_LDFLAGS = -shared -module -avoid-version \ - -export-symbols drumgizmo_lv2.sym + -no-undefined -export-symbols drumgizmo_lv2.sym drumgizmo_la_LIBADD = $(LV2_LIBS) \ $(top_srcdir)/plugingui/libdggui.la \ @@ -96,7 +96,7 @@ drumgizmo_vst_la_SOURCES = \ drumgizmo_plugin.cc drumgizmo_vst_la_LDFLAGS = -shared -module -avoid-version \ - -export-symbols drumgizmo_vst.sym + -no-undefined -export-symbols drumgizmo_vst.sym drumgizmo_vst_la_LIBADD = vst/libvstsdk.la \ $(top_srcdir)/plugingui/libdggui.la \ diff --git a/plugin/vst/Makefile.am b/plugin/vst/Makefile.am index 0f3df84..be45282 100644 --- a/plugin/vst/Makefile.am +++ b/plugin/vst/Makefile.am @@ -40,7 +40,8 @@ public.sdk/source/vst2.x/vstplugmain.cpp: public.sdk/source/vst2.x @VST_SOURCE_P cp @VST_SOURCE_PATH@/public.sdk/source/vst2.x/vstplugmain.cpp $@ # Hack to compile vst sources without -Wall -Werror -libvstsdk_la_CXXFLAGS = -w $(VST_CPPFLAGS) -Ipublic.sdk/source/vst2.x -I. +libvstsdk_la_CXXFLAGS = -Wno-c++11-narrowing -w $(VST_CPPFLAGS) \ + -Ipublic.sdk/source/vst2.x -I. nodist_libvstsdk_la_SOURCES = \ public.sdk/source/vst2.x/audioeffectx.cpp \ @@ -60,4 +61,4 @@ CLEANFILES = \ clean-local: -rm -rf public.sdk pluginterfaces -#pluginterfaces/vst2.x/vstfxstore.h
\ No newline at end of file +#pluginterfaces/vst2.x/vstfxstore.h |