From d2c19a73f65875f708ff8faf07010ffdb8a34385 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 3 Nov 2019 10:14:49 +0100 Subject: Fix osx static library compilation. --- plugin/Makefile.am | 4 ++-- plugin/vst/Makefile.am | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'plugin') 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 -- cgit v1.2.3